Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
christianhaitian committed Feb 13, 2021
1 parent 971faae commit 9196e1b
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 6 deletions.
15 changes: 13 additions & 2 deletions Update-RGB10.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
clear

UPDATE_DATE="02132021-1"
UPDATE_DATE="02132021-2"
LOG_FILE="/home/ark/update$UPDATE_DATE.log"
UPDATE_DONE="/home/ark/.config/.update$UPDATE_DATE"

Expand Down Expand Up @@ -583,7 +583,7 @@ if [ ! -f "/home/ark/.config/.update02132021" ]; then
touch "/home/ark/.config/.update02132021"
fi

if [ ! -f "$UPDATE_DONE" ]; then
if [ ! -f "/home/ark/.config/.update02132021-1" ]; then

printf "\nAdd USB drive mount and unmount to options menu\n" | tee -a "$LOG_FILE"
sudo wget https://github.com/christianhaitian/arkos/raw/main/02132021-1/USB%20Drive%20Mount.sh -O "/opt/system/USB Drive Mount.sh" -a "$LOG_FILE" || rm -f "/opt/system/USB Drive Mount.sh" | tee -a "$LOG_FILE"
Expand All @@ -603,6 +603,17 @@ if [ ! -f "$UPDATE_DONE" ]; then
printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 1.5 ($UPDATE_DATE)" /usr/share/plymouth/themes/text.plymouth

touch "/home/ark/.config/.update02132021-1"
fi

if [ ! -f "$UPDATE_DONE" ]; then

printf "\nFix global hotkeys not working after 02132021 update\n" | tee -a "$LOG_FILE"
sudo sed -i '/print(device.name, event)/c\' /usr/local/bin/oga_events.py

printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 1.5 ($UPDATE_DATE)" /usr/share/plymouth/themes/text.plymouth

touch "$UPDATE_DONE"
rm -v -- "$0" | tee -a "$LOG_FILE"
printf "\033c" >> /dev/tty1
Expand Down
15 changes: 13 additions & 2 deletions Update-RK2020.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
clear

UPDATE_DATE="02132021-1"
UPDATE_DATE="02132021-2"
LOG_FILE="/home/ark/update$UPDATE_DATE.log"
UPDATE_DONE="/home/ark/.config/.update$UPDATE_DATE"

Expand Down Expand Up @@ -583,7 +583,7 @@ if [ ! -f "/home/ark/.config/.update02132021" ]; then
touch "/home/ark/.config/.update02132021"
fi

if [ ! -f "$UPDATE_DONE" ]; then
if [ ! -f "/home/ark/.config/.update02132021-1" ]; then

printf "\nAdd USB drive mount and unmount to options menu\n" | tee -a "$LOG_FILE"
sudo wget https://github.com/christianhaitian/arkos/raw/main/02132021-1/USB%20Drive%20Mount.sh -O "/opt/system/USB Drive Mount.sh" -a "$LOG_FILE" || rm -f "/opt/system/USB Drive Mount.sh" | tee -a "$LOG_FILE"
Expand All @@ -603,6 +603,17 @@ if [ ! -f "$UPDATE_DONE" ]; then
printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 1.5 ($UPDATE_DATE)" /usr/share/plymouth/themes/text.plymouth

touch "/home/ark/.config/.update02132021-1"
fi

if [ ! -f "$UPDATE_DONE" ]; then

printf "\nFix global hotkeys not working after 02132021 update\n" | tee -a "$LOG_FILE"
sudo sed -i '/print(device.name, event)/c\' /usr/local/bin/oga_events.py

printf "\nUpdate boot text to reflect current version of ArkOS\n" | tee -a "$LOG_FILE"
sudo sed -i "/title\=/c\title\=ArkOS 1.5 ($UPDATE_DATE)" /usr/share/plymouth/themes/text.plymouth

touch "$UPDATE_DONE"
rm -v -- "$0" | tee -a "$LOG_FILE"
printf "\033c" >> /dev/tty1
Expand Down
5 changes: 4 additions & 1 deletion changelogs/rgb10-changelog
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,7 @@ v1.5 (02/13/2021)

v1.5 (02/13/2021-1)
- Added ability to mount and unmount a USB drive from the options menu
* See FAQ #20 for information on how to use this (https://github.com/christianhaitian/arkos/wiki/Frequently-Asked-Questions---RGB10#q-how-do-i-mount-a-usb-drive-for-copying-and-moving-files).
* See FAQ #20 for information on how to use this (https://github.com/christianhaitian/arkos/wiki/Frequently-Asked-Questions---RGB10#q-how-do-i-mount-a-usb-drive-for-copying-and-moving-files).

v1.5 (02/13/2021-2)
- Fixed global hotkeys not working after 02132021 update
5 changes: 4 additions & 1 deletion changelogs/rk2020-changelog
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,7 @@ v1.5 (02/13/2021)

v1.5 (02/13/2021-1)
- Added ability to mount and unmount a USB drive from the options menu
* See FAQ #20 for information on how to use this (https://github.com/christianhaitian/arkos/wiki/Frequently-Asked-Questions---RK2020#q-how-do-i-mount-a-usb-drive-for-copying-and-moving-files).
* See FAQ #20 for information on how to use this (https://github.com/christianhaitian/arkos/wiki/Frequently-Asked-Questions---RK2020#q-how-do-i-mount-a-usb-drive-for-copying-and-moving-files).

v1.5 (02/13/2021-2)
- Fixed global hotkeys not working after 02132021 update

0 comments on commit 9196e1b

Please sign in to comment.