X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=debian%2Fupload.sh;h=56fe8943065894b67343a53d8b38fb50c42d2a9a;hb=d6320d5dbe9181e467dc697393514172cc339e22;hp=ed6a930f73c00166989b2a16b87c9b790320994b;hpb=de8d7fe4999b0f84b62f2621ebf451084faf0401;p=ctsim.git diff --git a/debian/upload.sh b/debian/upload.sh index ed6a930..56fe894 100755 --- a/debian/upload.sh +++ b/debian/upload.sh @@ -1,6 +1,4 @@ #!/bin/bash -e -dup ctsim -Uftp.med-info.com -D/home/ftp/ctsim -c"(cd /opt/apache/htdocs/ctsim.org; make install-doc)" -su - -exit 0 - +dup ctsim -Ufiles.kpe.io -D/home/ftp/ctsim -su \ + -C"(umask 022; cd /srv/www/html/ctsim; make install; find . -type d |xargs chmod go+rx; find . -type f | xargs chmod go+r)" $*