🔥 less verbose udpates

This commit is contained in:
Mentor
2022-09-19 20:03:59 +02:00
parent e16b2de3d2
commit fa3a733faa
2 changed files with 1 additions and 5 deletions

View File

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

View File

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