$(GAMEDIR)/names.cnf: game/namescnf.dst
if [ ! -f game/names.cnf ]; then \
- $(CP) game/namescnf.dst $(GAMEDIR)/names.cnf \
+ $(CP) game/namescnf.dst $(GAMEDIR)/names.cnf; \
fi
$(GAMEDIR)/restart: game/restart.dst
if test ! -f game/restart ; then
echo "Creating restart script from restart.dst";
cp game/restart.dst game/restart;
+ chmod 750 game/restart;
else
read -p "Restart script has changed in this distribution. Should we replace your current restart script with ours?" -n 1;
if [[ $REPLY =~ ^[Yy]$ ]];then
cp game/restart game/restart.bup;
echo "Moving restart.dst to restart.";
cp game/restart.dst game/restart;
+ chmod 750 game/restart;
else
echo -e "\nOk.. not copying";
fi