forked from p15670423/monkey
Deploy: Set permissions of deployed AppImage to 755
This commit is contained in:
parent
f00ebef9f3
commit
176e91f533
|
@ -65,8 +65,9 @@ move_appimage() {
|
||||||
sudo mkdir -p "${MONKEY_BIN}"
|
sudo mkdir -p "${MONKEY_BIN}"
|
||||||
|
|
||||||
if [ "$1" != "${MONKEY_BIN}/${APPIMAGE_NAME}" ] ; then
|
if [ "$1" != "${MONKEY_BIN}/${APPIMAGE_NAME}" ] ; then
|
||||||
|
umask 022
|
||||||
sudo cp "$appimage_path" "${MONKEY_BIN}/${APPIMAGE_NAME}"
|
sudo cp "$appimage_path" "${MONKEY_BIN}/${APPIMAGE_NAME}"
|
||||||
sudo chmod a+x "${MONKEY_BIN}/${APPIMAGE_NAME}"
|
sudo chmod 755 "${MONKEY_BIN}/${APPIMAGE_NAME}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue