diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2015-03-18 21:30:51 +0000 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2015-03-18 21:30:51 +0000 |
commit | 3685396f3b915302c194a441d626c67554615ec5 (patch) | |
tree | c6a6229445068907a3992199931773bf58df0321 | |
parent | 665c3b30d41cf1309dbd8d138b8244e6d613f27e (diff) | |
download | sariulclocks-3685396f3b915302c194a441d626c67554615ec5.tar.gz |
deployment script creates dummy password file to avoid error
-rwxr-xr-x | deploy.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -45,6 +45,10 @@ cp -RL ../schoolclock/sounds $dest cd $HOME # mkhomepg -p mkdir -p $dest/data +if ! [ -e "$dest/password" ]; then + echo "dummy_password" > $dest/password + echo "Please update password in $dest/password!" +fi chmod 777 $dest/data chmod 755 $dest/sariulclocks.cgi |