diff options
Diffstat (limited to 'mayor-orig/update/pre003950-2.sh')
-rw-r--r-- | mayor-orig/update/pre003950-2.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mayor-orig/update/pre003950-2.sh b/mayor-orig/update/pre003950-2.sh new file mode 100644 index 00000000..e913c1d4 --- /dev/null +++ b/mayor-orig/update/pre003950-2.sh @@ -0,0 +1,20 @@ +#!/bin/sh + +FILES="mayor-base/www/policy/public/portal/rpc/rpc.php +mayor-portal-mayor/www/policy/public/portal/regisztracio/regisztracio.php +mayor-portal-mayor/www/skin/mayor/module-portal/css/regisztracio +mayor-portal-mayor/www/skin/mayor/module-portal/css/regisztracio/regisztracio.css +mayor-portal-mayor/www/skin/mayor/module-portal/html/regisztracio +mayor-portal-mayor/www/skin/mayor/module-portal/html/regisztracio/regisztracio.phtml" + +echo " Felesleges állományok törlése:" +for FILE in $FILES; do + echo -n " $BASEDIR/$FILE ... " + if [ -e "$BASEDIR/$FILE" ]; then + rm -f "$BASEDIR/$FILE" + echo "törölve." + else + echo "nincs." + fi +done +echo " Kész."
\ No newline at end of file |