Automated Change by GitHub Action

This commit is contained in:
okunze
2025-06-27 21:08:43 +00:00
committed by github-actions[bot]
parent 9b506fd5f0
commit 377d676348
3 changed files with 26 additions and 8 deletions

View File

@ -7,7 +7,10 @@ argonirconfigscript=/etc/argon/argonone-ir
if [ ! -z "$1" ]
then
$pythonbin $argononefanscript FANOFF
if [ -f "$argononefanscript" ]
then
$pythonbin $argononefanscript FANOFF
fi
if [ "$1" = "poweroff" ] || [ "$1" = "halt" ]
then
if [ -f $argonirconfigscript ]

View File

@ -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

View File

@ -1,6 +1,6 @@
#!/bin/bash
VERSIONINFO="2505003"
VERSIONINFO="2506001"
echo "Version $VERSIONINFO"
if [ -z "$1" ]