diff --git a/templates/zammad-updater.j2 b/templates/zammad-updater.j2 index 060ce71..b5288d7 100644 --- a/templates/zammad-updater.j2 +++ b/templates/zammad-updater.j2 @@ -20,7 +20,7 @@ sudo -u {{ zammad_user }} RAILS_ENV=production rbenv exec rails r "Cache.clear" echo "Aktualisiere Git-Repository..." git pull -if [ -n "$RUBY_INSTALLED_VERSIONS" ]; then +if [ -n "$RUBY_INSTALLED_VERSIONS" ]; then echo "Aktualisiere Ruby-Version..." sudo -u {{ zammad_user }} rbenv install "$RUBY_VERSION" fi