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
1 changed files with 2 additions and 1 deletions

View File

@ -127,7 +127,8 @@ function create() {
mv -v $INST_DIR/CLIENT_DATA/opsi-WinPKG.exe $INST_DIR/CLIENT_DATA/Install/
# 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
# delete the temp directory