Make the instalers happy everything with exec bit
This commit is contained in:
parent
dd6054e826
commit
21f02b8c29
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user