aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-09 20:54:54 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-09 20:54:54 -0300
commite9251260a9b6511ad09ef473b1202f6bc2a2218d (patch)
tree56ac05b0867a93f9d396a0f7acf608491f485138 /share
parent95c4b19c13c1b397fbef9586b09318f94d3f6809 (diff)
downloadhydra-e9251260a9b6511ad09ef473b1202f6bc2a2218d.tar.gz
hydra-e9251260a9b6511ad09ef473b1202f6bc2a2218d.tar.bz2
Trying to determine wiki location at backup-site (2)
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydractl/backup-site2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydractl/backup-site b/share/hydractl/backup-site
index 1c124aa..225ae19 100755
--- a/share/hydractl/backup-site
+++ b/share/hydractl/backup-site
@@ -41,7 +41,7 @@ if [ "$SITE" == "git" ] || [ "$SITE" == "svn" ]; then
elif [ "$SITE" == "debian" ]; then
LOCATION="/var/reprepro"
elif [ "$SITE" == "wiki" ]; then
- LOCATION="/var/www/data/pmwiki-*"
+ LOCATION="`ls -1 /var/www/data | grep pmwiki | sort -n | head`"
else
LOCATION="$SITES/$SITE"
fi