mirror of
https://github.com/actuallymentor/battery.git
synced 2026-02-03 14:03:24 +00:00
Update visudo declarations along with the battery script
This commit is contained in:
@@ -24,9 +24,12 @@ chown $USER $binfolder/battery
|
|||||||
chmod 755 $binfolder/battery
|
chmod 755 $binfolder/battery
|
||||||
chmod u+x $binfolder/battery
|
chmod u+x $binfolder/battery
|
||||||
|
|
||||||
|
echo "[ 3 ] Updating visudo declarations"
|
||||||
|
sudo $binfolder/battery.sh visudo
|
||||||
|
|
||||||
# Remove tempfiles
|
# Remove tempfiles
|
||||||
cd
|
cd
|
||||||
rm -rf $tempfolder
|
rm -rf $tempfolder
|
||||||
echo "[ 3 ] Removed temporary folder"
|
echo "[ 4 ] Removed temporary folder"
|
||||||
|
|
||||||
echo -e "\n🎉 Battery tool updated.\n"
|
echo -e "\n🎉 Battery tool updated.\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user