Output cleanup
This commit is contained in:
parent
a36f13a742
commit
fe0546542f
1 changed files with 6 additions and 7 deletions
|
|
@ -103,7 +103,7 @@ install_helium() {
|
||||||
exit_clean
|
exit_clean
|
||||||
|
|
||||||
elif [[ "$CONFIRM_INSTALL" == "n" || "$CONFIRM_INSTALL" == "N" ]] ; then
|
elif [[ "$CONFIRM_INSTALL" == "n" || "$CONFIRM_INSTALL" == "N" ]] ; then
|
||||||
echo -e "\n ${RED}Installation cancelled!${CRS}\n"
|
echo -e " ${RED}Cancelled!${CRS}\n"
|
||||||
exit
|
exit
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
@ -126,8 +126,8 @@ add_launcher() {
|
||||||
echo
|
echo
|
||||||
|
|
||||||
if [[ "$CONFIRM_LAUNCHER" == "" || "$CONFIRM_LAUNCHER" == "y" || "$CONFIRM_LAUNCHER" == "Y" ]] ; then
|
if [[ "$CONFIRM_LAUNCHER" == "" || "$CONFIRM_LAUNCHER" == "y" || "$CONFIRM_LAUNCHER" == "Y" ]] ; then
|
||||||
LAUNCHER_URL=https://lab.c95.org/fr4nz/helium-helper/raw/branch/stable/assets/launcher/helium.desktop.template
|
LAUNCHER_URL=https://lab.c95.org/fr4nz/helium-helper/raw/branch/main/assets/launcher/helium.desktop.template
|
||||||
ICON_URL=https://lab.c95.org/fr4nz/helium-helper/raw/branch/stable/assets/icon/helium.png
|
ICON_URL=https://lab.c95.org/fr4nz/helium-helper/raw/branch/main/assets/icon/helium.png
|
||||||
LOCAL_VERSION=$($INSTALL_PATH/$APP_NAME.AppImage --version | awk '{print $2}')
|
LOCAL_VERSION=$($INSTALL_PATH/$APP_NAME.AppImage --version | awk '{print $2}')
|
||||||
wget -P $TMP $LAUNCHER_URL -q --show-progress
|
wget -P $TMP $LAUNCHER_URL -q --show-progress
|
||||||
wget -P $TMP $ICON_URL -q --show-progress
|
wget -P $TMP $ICON_URL -q --show-progress
|
||||||
|
|
@ -141,7 +141,7 @@ add_launcher() {
|
||||||
exit_clean
|
exit_clean
|
||||||
|
|
||||||
elif [[ "$CONFIRM_LAUNCHER" == "n" || "$CONFIRM_LAUNCHER" == "N" ]] ; then
|
elif [[ "$CONFIRM_LAUNCHER" == "n" || "$CONFIRM_LAUNCHER" == "N" ]] ; then
|
||||||
echo -e "\n ${RED}Launcher creation cancelled!${CRS}\n"
|
echo -e " ${RED}Cancelled!${CRS}\n"
|
||||||
exit
|
exit
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
@ -208,7 +208,7 @@ update_helium() {
|
||||||
break
|
break
|
||||||
|
|
||||||
elif [[ "$CONFIRM" == "n" || "$CONFIRM" == "N" ]] ; then
|
elif [[ "$CONFIRM" == "n" || "$CONFIRM" == "N" ]] ; then
|
||||||
echo -e " ${RED}Update cancelled!${CRS}\n"
|
echo -e " ${RED}Cancelled!${CRS}\n"
|
||||||
exit
|
exit
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
@ -256,7 +256,7 @@ remove_helium() {
|
||||||
exit
|
exit
|
||||||
|
|
||||||
elif [[ "$CONFIRM_REMOVE" == "n" || "$CONFIRM_REMOVE" == "N" ]] ; then
|
elif [[ "$CONFIRM_REMOVE" == "n" || "$CONFIRM_REMOVE" == "N" ]] ; then
|
||||||
echo -e "\n ${RED}Removal cancelled!${CRS}\n"
|
echo -e " ${RED}Cancelled!${CRS}\n"
|
||||||
exit
|
exit
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
@ -374,7 +374,6 @@ while getopts ":i,:L,:u,:U,:r,:c,:s,:S,:h" OPTION ; do
|
||||||
i)
|
i)
|
||||||
echo -e "\n ${YEL}Installing $APP_NAME_LONG...${CRS}"
|
echo -e "\n ${YEL}Installing $APP_NAME_LONG...${CRS}"
|
||||||
dependency_check
|
dependency_check
|
||||||
local_check
|
|
||||||
install_helium
|
install_helium
|
||||||
exit_clean
|
exit_clean
|
||||||
exit ;;
|
exit ;;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue