Ulauncher: update to 5.12.1 & use pkg-install

pull/931/head
Botspot 4 years ago
parent 7d6dc341b5
commit 316225da63

@ -7,11 +7,9 @@ function error {
exit 1
}
"${DIRECTORY}/pkg-install" "gir1.2-appindicator3-0.1 python3-distutils-extra python3-levenshtein python3-websocket" "$(dirname "$0")" || exit 1
wget 'https://github.com/Ulauncher/Ulauncher/releases/download/5.11.0/ulauncher_5.11.0_all.deb' -O ~/ulauncher.deb || error 'Failed to download ulauncher.deb!'
rm -f ~/ulauncher.deb
wget -O ~/ulauncher.deb 'https://github.com/Ulauncher/Ulauncher/releases/download/5.12.1/ulauncher_5.12.1_all.deb' || error 'Failed to download ulauncher.deb!'
sudo apt install -y --fix-missing ~/ulauncher.deb || error "APT failed to install ulauncher.deb!"
"${DIRECTORY}/pkg-install" "gir1.2-appindicator3-0.1 python3-distutils-extra python3-levenshtein python3-websocket $HOME/ulauncher.deb" "$(dirname "$0")" || error "Failed to install ulauncher.deb and dependencies!"
rm -f ~/ulauncher.deb
exit 0

@ -7,9 +7,4 @@ function error {
exit 1
}
rm -f ~/ulauncher.deb
sudo apt purge -y ulauncher
#if your app installs any packages, keep this command here so those packages will be removed.
"${DIRECTORY}/purge-installed" "$(dirname "$0")" || exit 1

Loading…
Cancel
Save