X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=debian%2Fupload.sh;h=56fe8943065894b67343a53d8b38fb50c42d2a9a;hb=f0bcc000de560b3578eb436781ad2c7890ee37cb;hp=8a2d13607801086405a27a9ac994db29a2908973;hpb=d930ef04841e4865903758fcc0e7d21934303b03;p=ctsim.git diff --git a/debian/upload.sh b/debian/upload.sh index 8a2d136..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)" $*