Remove executable and symlink before copying.

This commit is contained in:
Anton 2024-11-21 18:33:06 +03:00
parent bb2022736b
commit 1e74cb1d56

View File

@ -5,11 +5,13 @@ mkdir -p pkg/apps
mkdir -p pkg/data/deskbar/menu/Applications
#Update binary
rm -f pkg/apps/mtpview
cp mtpview pkg/apps/mtpview
chmod +x pkg/apps/mtpview
#Make menu stortcut
pushd pkg/data/deskbar/menu/Applications
rm -f mtpview
ln -s -r ../../../../apps/mtpview mtpview
popd