From 2cde21fe99986ebd33cb1c1d5668e6d76a67b683 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 9 Mar 2014 12:43:30 -0300 Subject: TODO update, chown ikiwikis --- share/hydractl/backup-restore-site | 1 + 1 file changed, 1 insertion(+) (limited to 'share/hydractl/backup-restore-site') diff --git a/share/hydractl/backup-restore-site b/share/hydractl/backup-restore-site index 064e8e3..4224f45 100755 --- a/share/hydractl/backup-restore-site +++ b/share/hydractl/backup-restore-site @@ -162,6 +162,7 @@ if [ -e "$FOLDER/ikiwiki" ]; then site="`basename $file .setup`" git clone file:///var/git/repositories/$SITE /var/sites/$SITE/ikiwiki_src ikiwiki --setup $file --rebuild + chown -R $SITE_USER.$SITE_GROUP /var/sites/$SITE/ikiwiki* else echo "Either $file or git repository not found for $SITE ikiwiki instance" fi -- cgit v1.2.3