Make the instalers happy everything with exec bit

This commit is contained in:
Mario Fetka 2013-06-27 17:09:25 +02:00
parent dd6054e826
commit 21f02b8c29

View File

@ -127,7 +127,8 @@ function create() {
mv -v $INST_DIR/CLIENT_DATA/opsi-WinPKG.exe $INST_DIR/CLIENT_DATA/Install/ mv -v $INST_DIR/CLIENT_DATA/opsi-WinPKG.exe $INST_DIR/CLIENT_DATA/Install/
# set exec bit on executeables # set exec bit on executeables
find $INST_DIR/CLIENT_DATA -type f -iname "*.exe" -o -iname "*.bat" -o -iname "*.cmd" -o -iname "*.msi" -o -iname "*.msp" | xargs chmod +x -v find $INST_DIR/CLIENT_DATA/Install/ -type f -print0 | xargs -0 chmod +x
find $INST_DIR/CLIENT_DATA/UnInstall/ -type f -print0 | xargs -0 chmod +x
find $INST_DIR/CLIENT_DATA -type d -print0 | xargs -0 chmod 755 -v find $INST_DIR/CLIENT_DATA -type d -print0 | xargs -0 chmod 755 -v
# delete the temp directory # delete the temp directory