Changeset View
Changeset View
Standalone View
Standalone View
mail/dcc-dccd/files/pkg-install.in
Show All 10 Lines | if [ "$2" = "POST-INSTALL" ]; then | ||||
-n .nopasswd \ | -n .nopasswd \ | ||||
-I $DCCHOME/ids.nopasswd -i $DCCHOME/ids \ | -I $DCCHOME/ids.nopasswd -i $DCCHOME/ids \ | ||||
-T $DCCHOME/map.txt.nopasswd -t $DCCHOME/map.txt \ | -T $DCCHOME/map.txt.nopasswd -t $DCCHOME/map.txt \ | ||||
-m $DCCHOME/map | -m $DCCHOME/map | ||||
for file in ids map map.txt ; do | for file in ids map map.txt ; do | ||||
/bin/cp -p $DCCHOME/$file $DCCHOME/${file}.nopasswd | /bin/cp -p $DCCHOME/$file $DCCHOME/${file}.nopasswd | ||||
/usr/sbin/chown $DCCUSER $DCCHOME/${file} $DCCHOME/${file}.nopasswd | /usr/sbin/chown $DCCUSER $DCCHOME/${file} $DCCHOME/${file}.nopasswd | ||||
/usr/sbin/chown $DCCUSER $DCCHOME/${file} $DCCHOME/${file}.sample | |||||
done | done | ||||
fi | fi | ||||
exit 0 | exit 0 |