]> gitweb.fluxo.info Git - hydra.git/commitdiff
Trying to determine wiki location at backup-site (3)
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 9 Mar 2014 23:55:16 +0000 (20:55 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 9 Mar 2014 23:55:16 +0000 (20:55 -0300)
share/hydractl/backup-site

index 225ae1990e9c9e8089f2fd901dab04600f361ce4..4b68b7c2f421be4d59059a99ae25d36fdb6ffeae 100755 (executable)
@@ -41,7 +41,7 @@ if [ "$SITE" == "git" ] || [ "$SITE" == "svn" ]; then
 elif [ "$SITE" == "debian" ]; then
   LOCATION="/var/reprepro"
 elif [ "$SITE" == "wiki" ]; then
-  LOCATION="`ls -1 /var/www/data | grep pmwiki | sort -n | head`"
+  LOCATION="/var/www/data/`ls -1 /var/www/data | grep pmwiki | sort -n | head`"
 else
   LOCATION="$SITES/$SITE"
 fi