Skip to content

Commit

Permalink
- don't overwrite existing config when running install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ds committed Dec 15, 2018
1 parent 67db370 commit 8aea061
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ fi

# copy configs
cp etc/pyHPSU/commands* $CONF_DIR/
cp etc/pyHPSU/pyhpsu.conf $CONF_DIR/
if [ -f /etc/pyHPSU/pyhpsu.conf ]; then
cp etc/pyHPSU/pyhpsu.conf $CONF_DIR/pyhpsu.conf.new
else
cp etc/pyHPSU/pyhpsu.conf $CONF_DIR/
fi

# copy the rest
#cp -r can $SHARE_DIR
Expand Down

0 comments on commit 8aea061

Please sign in to comment.