From e9251260a9b6511ad09ef473b1202f6bc2a2218d Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 9 Mar 2014 20:54:54 -0300 Subject: Trying to determine wiki location at backup-site (2) --- share/hydractl/backup-site | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') 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 -- cgit v1.2.3