blob: 799829cf10b2504a5adc98f91d209662f43501e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/sh
FWDIR=%%FWDIR%%
WWWDIR=%%WWWDIR%%
WWWOWN=%%WWWOWN%%
WWWGRP=%%WWWGRP%%
case $2 in
PRE-INSTALL)
;;
POST-INSTALL)
chown -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/
cd ${WWWDIR}
sh tools/fix_file_permissions.sh > /dev/null 2>&1
;;
*)
echo "Unexpected Argument $2!!!"
exit 1
;;
esac
exit 0
|