X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=debian%2Fupload.sh;h=56fe8943065894b67343a53d8b38fb50c42d2a9a;hb=HEAD;hp=abc20ee5cdce5395a920fa81422388c5d407a8f1;hpb=b2d39fbaa924415a004e1d304f2543fe1f06e685;p=ctsim.git diff --git a/debian/upload.sh b/debian/upload.sh index abc20ee..56fe894 100755 --- a/debian/upload.sh +++ b/debian/upload.sh @@ -1,6 +1,4 @@ -#!/bin/sh -e - -dup ctsim -Uftp.med-info.com -D/home/ftp/pub/ctsim -c"(cd /opt/apache/htdocs/ctsim.org; make)" - -exit 0 +#!/bin/bash -e +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)" $*