Timeshift: fixed deb filename & use pkg-install

pull/931/head
Botspot 3 years ago
parent 42b1cb0093
commit 551631bb1e

@ -7,7 +7,7 @@ function error {
exit 1
}
cd $HOME/Downloads
wget https://github.com/teejee2008/timeshift/releases/download/v20.11.1/timeshift_20.11.1_armhf.deb || error 'Failed to download timeshift!'
sudo apt install -y --fix-broken ~/Downloads/timeshift_20.11.1_armhf.deb || error 'Failed to install .deb file!'
rm -f timeshift_20.11.1_armhf.deb
rm -f ~/timeshift.deb
wget -O ~/timeshift.deb https://github.com/teejee2008/timeshift/releases/download/v20.11.1/timeshift_20.11.1_armhf.deb || error 'Failed to download timeshift!'
"${DIRECTORY}/pkg-install" "$HOME/timeshift.deb" "$(dirname "$0")" || error 'Failed to install .deb file!'
rm -f ~/timeshift.deb

@ -7,7 +7,7 @@ function error {
exit 1
}
cd $HOME/Downloads
wget https://github.com/teejee2008/timeshift/releases/download/v20.11.1/timeshift_20.11.1_arm64.deb || error 'Failed to download timeshift!'
sudo apt install -y --fix-broken ~/Downloads/timeshift_20.11.1_arm64.deb || error 'Failed to install .deb file!'
rm -f timeshift_20.11.1_arm64.deb
rm -f ~/timeshift.deb
wget -O ~/timeshift.deb https://github.com/teejee2008/timeshift/releases/download/v20.11.1/timeshift_20.11.1_arm64.deb || error 'Failed to download timeshift!'
"${DIRECTORY}/pkg-install" "$HOME/timeshift.deb" "$(dirname "$0")" || error 'Failed to install .deb file!'
rm -f ~/timeshift.deb

@ -7,5 +7,5 @@ function error {
exit 1
}
sudo apt purge -y timeshift
"${DIRECTORY}/purge-installed" "$(dirname "$0")" || error "Failed to uninstall timeshift package!"
sudo rm -rf /etc/timeshift

Loading…
Cancel
Save