mirror of
https://github.com/winesapOS/winesapOS.git
synced 2025-08-24 02:18:49 +00:00
[repo][setup][upgrade] Install 'asusctl'
from the Chaotic AUR instead of the 'asusctl-git' package. Resolves #1076
This commit is contained in:
parent
7b825c9175
commit
63f2d28ae3
5 changed files with 14 additions and 3 deletions
|
@ -19,6 +19,7 @@
|
||||||
- Add mpv for HDR video playback.
|
- Add mpv for HDR video playback.
|
||||||
- Add ckb-next for supporting RGB on Corsair keyboards and mice.
|
- Add ckb-next for supporting RGB on Corsair keyboards and mice.
|
||||||
- Change winesapOS testing repository to be a rolling updates repository.
|
- Change winesapOS testing repository to be a rolling updates repository.
|
||||||
|
- Change 'asusctl-git' package to use the 'asusctl' package instead.
|
||||||
|
|
||||||
## 4.3.0 - The Wayland Update
|
## 4.3.0 - The Wayland Update
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
**No Action Required:**
|
**No Action Required:**
|
||||||
|
|
||||||
- Change the winesapOS stable repository to be the winesapOS rolling updates repository.
|
- Change the winesapOS stable repository to be the winesapOS rolling updates repository.
|
||||||
|
- Change 'asusctl-git' package to use the 'asusctl' package instead.
|
||||||
|
|
||||||
## 4.2.0 to 4.3.0
|
## 4.2.0 to 4.3.0
|
||||||
|
|
||||||
|
|
|
@ -66,8 +66,6 @@ git config --global user.email "you@example.com"
|
||||||
git config --global user.name "Your Name"
|
git config --global user.name "Your Name"
|
||||||
|
|
||||||
makepkg_fn apfsprogs-git
|
makepkg_fn apfsprogs-git
|
||||||
makepkg_fn asusctl-git
|
|
||||||
# AYANEO drivers.
|
|
||||||
makepkg_fn ayaneo-platform-dkms-git
|
makepkg_fn ayaneo-platform-dkms-git
|
||||||
makepkg_fn ayaled-updated
|
makepkg_fn ayaled-updated
|
||||||
makepkg_fn ceph-bin
|
makepkg_fn ceph-bin
|
||||||
|
|
|
@ -251,7 +251,7 @@ asus_setup() {
|
||||||
if sudo dmidecode -s system-manufacturer | grep -P "^ASUS"; then
|
if sudo dmidecode -s system-manufacturer | grep -P "^ASUS"; then
|
||||||
echo "ASUS computer detected."
|
echo "ASUS computer detected."
|
||||||
kdialog_dbus=$(kdialog --title "winesapOS First-Time Setup" --progressbar "Please wait for ASUS utilities to be installed..." 1 | cut -d" " -f1)
|
kdialog_dbus=$(kdialog --title "winesapOS First-Time Setup" --progressbar "Please wait for ASUS utilities to be installed..." 1 | cut -d" " -f1)
|
||||||
"${CMD_AUR_INSTALL[@]}" asusctl-git
|
"${CMD_AUR_INSTALL[@]}" asusctl
|
||||||
"${qdbus_cmd}" "${kdialog_dbus}" /ProgressDialog org.kde.kdialog.ProgressDialog.close
|
"${qdbus_cmd}" "${kdialog_dbus}" /ProgressDialog org.kde.kdialog.ProgressDialog.close
|
||||||
else
|
else
|
||||||
echo "ASUS computer not detected."
|
echo "ASUS computer not detected."
|
||||||
|
|
|
@ -1072,6 +1072,17 @@ fi
|
||||||
sudo -E -u "${WINESAPOS_USER_NAME}" "${qdbus_cmd}" "${kdialog_dbus}" /ProgressDialog org.kde.kdialog.ProgressDialog.close
|
sudo -E -u "${WINESAPOS_USER_NAME}" "${qdbus_cmd}" "${kdialog_dbus}" /ProgressDialog org.kde.kdialog.ProgressDialog.close
|
||||||
echo "Running 4.2.0 to 4.3.0 upgrades complete."
|
echo "Running 4.2.0 to 4.3.0 upgrades complete."
|
||||||
|
|
||||||
|
echo "Running 4.3.0 to 4.4.0 upgrades..."
|
||||||
|
kdialog_dbus=$(sudo -E -u "${WINESAPOS_USER_NAME}" kdialog --title "winesapOS Upgrade" --progressbar "Running 4.2.0 to 4.3.0 upgrades..." 1 | cut -d" " -f1)
|
||||||
|
|
||||||
|
if ${CMD_PACMAN} -Q asusctl-git; then
|
||||||
|
"${CMD_PACMAN_REMOVE[@]}" asusctl-git
|
||||||
|
"${CMD_AUR_INSTALL[@]}" asusctl
|
||||||
|
fi
|
||||||
|
|
||||||
|
sudo -E -u "${WINESAPOS_USER_NAME}" "${qdbus_cmd}" "${kdialog_dbus}" /ProgressDialog org.kde.kdialog.ProgressDialog.close
|
||||||
|
echo "Running 4.3.0 to 4.4.0 upgrades complete."
|
||||||
|
|
||||||
echo "Upgrading system packages..."
|
echo "Upgrading system packages..."
|
||||||
kdialog_dbus=$(sudo -E -u "${WINESAPOS_USER_NAME}" kdialog --title "winesapOS Upgrade" --progressbar "Please wait for all system packages to upgrade (this can take a long time)..." 11 | cut -d" " -f1)
|
kdialog_dbus=$(sudo -E -u "${WINESAPOS_USER_NAME}" kdialog --title "winesapOS Upgrade" --progressbar "Please wait for all system packages to upgrade (this can take a long time)..." 11 | cut -d" " -f1)
|
||||||
sudo -E -u "${WINESAPOS_USER_NAME}" "${qdbus_cmd}" "${kdialog_dbus}" /ProgressDialog showCancelButton false
|
sudo -E -u "${WINESAPOS_USER_NAME}" "${qdbus_cmd}" "${kdialog_dbus}" /ProgressDialog showCancelButton false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue