diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-09 20:54:54 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-09 20:54:54 -0300 |
commit | e9251260a9b6511ad09ef473b1202f6bc2a2218d (patch) | |
tree | 56ac05b0867a93f9d396a0f7acf608491f485138 /share/hydractl/backup-site | |
parent | 95c4b19c13c1b397fbef9586b09318f94d3f6809 (diff) | |
download | hydra-e9251260a9b6511ad09ef473b1202f6bc2a2218d.tar.gz hydra-e9251260a9b6511ad09ef473b1202f6bc2a2218d.tar.bz2 |
Trying to determine wiki location at backup-site (2)
Diffstat (limited to 'share/hydractl/backup-site')
-rwxr-xr-x | share/hydractl/backup-site | 2 |
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 |