mirror of
https://github.com/okunze/Argon40-ArgonOne-Script.git
synced 2025-06-29 16:27:31 +02:00
Automated Change by GitHub Action
This commit is contained in:
committed by
github-actions[bot]
parent
9b506fd5f0
commit
377d676348
@ -41,7 +41,10 @@ if [ -f "$shortcutfile" ]; then
|
||||
sudo rm /usr/share/pixmaps/argoneon.png
|
||||
fi
|
||||
fi
|
||||
|
||||
shortcutfile="/home/$destfoldername/Desktop/argononeup.desktop"
|
||||
if [ -f "$shortcutfile" ]; then
|
||||
sudo rm $shortcutfile
|
||||
fi
|
||||
|
||||
INSTALLATIONFOLDER=/etc/argon
|
||||
|
||||
@ -58,6 +61,15 @@ if [ -f $argononefanscript ]; then
|
||||
sudo rm /lib/systemd/system/argononed.service
|
||||
fi
|
||||
|
||||
argononeupscript=$INSTALLATIONFOLDER/argononeupd.py
|
||||
if [ -f $argononeupscript ]; then
|
||||
sudo systemctl stop argononeupd.service
|
||||
sudo systemctl disable argononeupd.service
|
||||
|
||||
# Remove files
|
||||
sudo rm /lib/systemd/system/argononeupd.service
|
||||
fi
|
||||
|
||||
# Remove RTC if any
|
||||
argoneonrtcscript=$INSTALLATIONFOLDER/argoneond.py
|
||||
if [ -f "$argoneonrtcscript" ]
|
||||
@ -78,7 +90,7 @@ fi
|
||||
argononeupsscript=$INSTALLATIONFOLDER/argononeupsd.py
|
||||
if [ -f "$argononeupsscript" ]
|
||||
then
|
||||
sudo rmmod argonbatteryicon
|
||||
#sudo rmmod argonbatteryicon
|
||||
# Disable Services
|
||||
sudo systemctl stop argononeupsd.service
|
||||
sudo systemctl disable argononeupsd.service
|
||||
@ -98,18 +110,21 @@ then
|
||||
done
|
||||
fi
|
||||
|
||||
sudo rm /usr/bin/argon-config
|
||||
if [ -f "/usr/bin/argon-config" ]
|
||||
then
|
||||
sudo rm /usr/bin/argon-config
|
||||
fi
|
||||
|
||||
if [ -f "/usr/bin/argonone-config" ]
|
||||
then
|
||||
sudo rm /usr/bin/argonone-config
|
||||
sudo rm /usr/bin/argonone-uninstall
|
||||
sudo rm /usr/bin/argonone-config
|
||||
sudo rm /usr/bin/argonone-uninstall
|
||||
fi
|
||||
|
||||
|
||||
if [ -f "/usr/bin/argonone-ir" ]
|
||||
then
|
||||
sudo rm /usr/bin/argonone-ir
|
||||
sudo rm /usr/bin/argonone-ir
|
||||
fi
|
||||
|
||||
# Delete config files
|
||||
|
Reference in New Issue
Block a user