Delete update-librewolf.sh
This commit is contained in:
parent
03230096c6
commit
e27094304a
|
|
@ -1,18 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
ZENITY_OPTIONS="--icon $HOME/.local/share/icons/librewolf.png --title LibreWolf AppImage"
|
||||
APPIMAGE="/home/ktn/.local/bin/LibreWolf.x86_64.AppImage"
|
||||
|
||||
zenity --question $ZENITY_OPTIONS --no-wrap --text "Update now?" &&
|
||||
|
||||
if stat $APPIMAGE
|
||||
then
|
||||
mv $APPIMAGE $APPIMAGE.old &&
|
||||
wcurl -O $APPIMAGE https://gitlab.com/api/v4/projects/24386000/packages/generic/librewolf/latest/LibreWolf.x86_64.AppImage |zenity --progress $ZENITY_OPTIONS --auto-close --auto-kill --text "Downloading using wcurl..." --pulsate &&
|
||||
chmod +x $APPIMAGE & touch $HOME/.cache/snooze/wolfupdate
|
||||
else
|
||||
wcurl -O $APPIMAGE https://gitlab.com/api/v4/projects/24386000/packages/generic/librewolf/latest/LibreWolf.x86_64.AppImage |zenity --progress $ZENITY_OPTIONS --auto-close --auto-kill --text "Downloading using wcurl..." --pulsate &&
|
||||
chmod +x $APPIMAGE & touch $HOME/.cache/snooze/wolfupdate
|
||||
fi &&
|
||||
|
||||
zenity --info $ZENITY_OPTIONS --no-wrap --text "LibreWolf has been updated!"
|
||||
Loading…
Reference in a new issue