Date: Tuesday, May 3, 2016 @ 15:04:02
  Author: svenstaro
Revision: 173566

upgpkg: gitlab 8.7.1-4

Fix syntax error

Modified:
  gitlab/trunk/PKGBUILD
  gitlab/trunk/gitlab.install

----------------+
 PKGBUILD       |    2 +-
 gitlab.install |   12 ++++++------
 2 files changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-05-03 12:44:09 UTC (rev 173565)
+++ PKGBUILD    2016-05-03 13:04:02 UTC (rev 173566)
@@ -8,7 +8,7 @@
 
 pkgname=gitlab
 pkgver=8.7.1
-pkgrel=3
+pkgrel=4
 pkgdesc="Project management and code hosting application"
 arch=('i686' 'x86_64')
 url="http://gitlab.org/gitlab-ce";

Modified: gitlab.install
===================================================================
--- gitlab.install      2016-05-03 12:44:09 UTC (rev 173565)
+++ gitlab.install      2016-05-03 13:04:02 UTC (rev 173566)
@@ -1,11 +1,11 @@
 post_install() {
-       systemd-tmpfiles --create gitlab.conf
+    systemd-tmpfiles --create gitlab.conf
 
     echo "Copy a database example config from /usr/share/doc/gitlab/ to 
/etc/webapps/gitlab/database.yml and configure it"
     echo "Setup the database:"
-       echo "# su - git -s /bin/sh -c \"cd '/usr/share/webapps/gitlab'; 
bundle-2.1 exec rake gitlab:setup RAILS_ENV=production\""
-       echo "Compile the assets:"
-       echo "# su - git -s /bin/sh -c \"cd '/usr/share/webapps/gitlab'; 
bundle-2.1 exec rake assets:precompile RAILS_ENV=production\""
+    echo "# su - git -s /bin/sh -c \"cd '/usr/share/webapps/gitlab'; 
bundle-2.1 exec rake gitlab:setup RAILS_ENV=production\""
+    echo "Compile the assets:"
+    echo "# su - git -s /bin/sh -c \"cd '/usr/share/webapps/gitlab'; 
bundle-2.1 exec rake assets:precompile RAILS_ENV=production\""
     echo "Put a secret bytestring to /etc/webapps/gitlab/secret"
     echo "Finally run the following commands to check your installation:"
     echo "# su - git -s /bin/sh -c \"cd '/usr/share/webapps/gitlab'; 
bundle-2.1 exec rake gitlab:env_info RAILS_ENV=production\""
@@ -13,7 +13,7 @@
 }
 
 post_upgrade() {
-       su - git -s /bin/sh -c \"cd '/usr/share/webapps/gitlab'; bundle-2.1 
exec rake assets:precompile RAILS_ENV=production\"
+    su - git -s /bin/sh -c "cd '/usr/share/webapps/gitlab'; bundle-2.1 exec 
rake assets:precompile RAILS_ENV=production"
     echo "You should upgrade your database:"
-       echo "# su - git -s /bin/sh -c \"cd '/usr/share/webapps/gitlab'; 
bundle-2.1 exec rake db:migrate RAILS_ENV=production\""
+    echo "# su - git -s /bin/sh -c \"cd '/usr/share/webapps/gitlab'; 
bundle-2.1 exec rake db:migrate RAILS_ENV=production\""
 }

Reply via email to