Deploy: Don't chmod if appimage hasn't changed

This commit is contained in:
EliaOnceAgain 2022-04-10 18:30:14 +03:00 committed by Mike Salvatore
parent 4f3b2253d5
commit 149103e9ba
1 changed files with 1 additions and 2 deletions

View File

@ -66,9 +66,8 @@ move_appimage() {
if [ "$1" != "${MONKEY_BIN}/${APPIMAGE_NAME}" ] ; then if [ "$1" != "${MONKEY_BIN}/${APPIMAGE_NAME}" ] ; then
sudo cp "$appimage_path" "${MONKEY_BIN}/${APPIMAGE_NAME}" sudo cp "$appimage_path" "${MONKEY_BIN}/${APPIMAGE_NAME}"
sudo chmod a+x "${MONKEY_BIN}/${APPIMAGE_NAME}"
fi fi
sudo chmod a+x "${MONKEY_BIN}/${APPIMAGE_NAME}"
} }
user_exists() { user_exists() {