mirror of
https://github.com/actuallymentor/battery.git
synced 2026-02-03 05:53:24 +00:00
🔥 less verbose udpates
This commit is contained in:
@@ -149,7 +149,6 @@ if [[ "$action" == "reinstall" ]]; then
|
||||
read
|
||||
fi
|
||||
curl -sS https://raw.githubusercontent.com/actuallymentor/battery/main/setup.sh | bash
|
||||
battery
|
||||
exit 0
|
||||
fi
|
||||
|
||||
@@ -161,7 +160,6 @@ if [[ "$action" == "update" ]]; then
|
||||
read
|
||||
fi
|
||||
curl -sS https://raw.githubusercontent.com/actuallymentor/battery/main/update.sh | bash
|
||||
battery
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ binfolder=/usr/local/bin
|
||||
bateryfolder="$tempfolder/battery"
|
||||
mkdir -p $bateryfolder
|
||||
|
||||
echo "🔋 Starting battery update"
|
||||
echo -e "🔋 Starting battery update\n"
|
||||
|
||||
# Write battery function as executable
|
||||
|
||||
@@ -24,6 +24,4 @@ cd
|
||||
rm -rf $tempfolder
|
||||
echo "[ 3/3 ] Removed temporary folder"
|
||||
|
||||
|
||||
|
||||
echo -e "\n🎉 Battery tool updated.\n"
|
||||
|
||||
Reference in New Issue
Block a user