X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=build.sh;h=1ee0a41cc85e312bd1e88533b47c61fe3e95ce08;hp=2af3bb82d96c7d7be0730971c63747a99dcc4b7f;hb=756e90840f47c110d346c863238375bb59a10475;hpb=83d98d317addfbbf1867c9724118d008386d2780 diff --git a/build.sh b/build.sh index 2af3bb8..1ee0a41 100755 --- a/build.sh +++ b/build.sh @@ -13,9 +13,11 @@ mkdir -p $DESTDIR # php includes cp -RLp inc/ $DESTDIR/ +# removes generated settings in case it exists +rm -f $DESTDIR/inc/settings.php # other php files -cp -p admin.*php index.*php upgrade.*php wizard.*php news.php api.php items.php logout.php $DESTDIR/ +cp -p admin.*php index.*php upgrade.*php install.*php news.php api.php items.php logout.php $DESTDIR/ # media cp -RLp media/ $DESTDIR/