X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=debian%2Fupload.sh;h=19718df96ca0c1d274852339accbe1aecaa47821;hb=6507616ef0030aff29fc2259d5e5bdb90d001f23;hp=c98cd66aa4ce4ca58565096b6e10b44e63ac5eb8;hpb=3f9781215723a95d11649ede896a826bc293a277;p=reversi.git diff --git a/debian/upload.sh b/debian/upload.sh old mode 100755 new mode 100644 index c98cd66..19718df --- a/debian/upload.sh +++ b/debian/upload.sh @@ -1,4 +1,4 @@ #!/bin/bash -e -dup reversi -Uftp.med-info.com -D/home/ftp/reversi -C"(cd /opt/apache/htdocs/reversi.med-info.com; make install)" -su $* - +dup reversi -Ufiles.kpe.io -D/home/ftp/reversi -su \ + -C"(umask 022; cd /srv/www/html/reversi; make install; find . -type d |xargs chmod go+rx; find . -type f | xargs chmod go+r)" $*