diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/deploy.sh.erb | 2 | ||||
-rw-r--r-- | templates/refresh.sh.erb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/deploy.sh.erb b/templates/deploy.sh.erb index e895546..2673d3a 100644 --- a/templates/deploy.sh.erb +++ b/templates/deploy.sh.erb @@ -12,8 +12,8 @@ INSTANCE="ikiwiki" CONF="/etc/ikiwiki" BASE="<%= scope.lookupvar('ikiwiki::sites_folder') %>" REPO_OWNER="<%= scope.lookupvar('ikiwiki::git_implementation') %>" +REPO="<%= scope.lookupvar('ikiwiki::git_folder') %>/$NAME.git" REMOTE="$REPO_OWNER@localhost:$NAME" -REPO="/var/git/repositories/$NAME.git" # Syntax check if [ -z "$INSTANCE" ]; then diff --git a/templates/refresh.sh.erb b/templates/refresh.sh.erb index 10b96c1..7e7adf6 100644 --- a/templates/refresh.sh.erb +++ b/templates/refresh.sh.erb @@ -14,7 +14,7 @@ WWW_USER="<%= scope.lookupvar('ikiwiki::www_user') %>" BASE="<%= scope.lookupvar('ikiwiki::sites_folder') %>" REPO_OWNER="<%= scope.lookupvar('ikiwiki::git_implementation') %>" REPO_GROUP="<%= scope.lookupvar('ikiwiki::git_implementation') %>" -REPO="/var/git/repositories/$NAME.git" +REPO="<%= scope.lookupvar('ikiwiki::git_folder') %>/$NAME.git" # Syntax check if [ -z "$INSTANCE" ]; then |