diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | mycroft-core.install | 8 |
3 files changed, 7 insertions, 7 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Fri Dec 30 11:12:17 UTC 2016 +# Fri Dec 30 14:55:54 UTC 2016 pkgbase = mycroft-core pkgdesc = Mycroft Core, the Mycroft Artificial Intelligence platform. Contribute to this package at: https://gitlab.com/rafamanzo/aur-mycroft-core pkgver = 0.8.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/MycroftAI/mycroft-core install = mycroft-core.install arch = i686 @@ -4,7 +4,7 @@ pkgname=mycroft-core # _pkgcommit=eb0a37c # Used only when the latest tag is not working # pkgver=0.7.20.${_pkgcommit} pkgver=0.8.0 -pkgrel=1 +pkgrel=2 pkgdesc="Mycroft Core, the Mycroft Artificial Intelligence platform. Contribute to this package at: https://gitlab.com/rafamanzo/aur-mycroft-core" arch=('i686' 'x86_64') url='https://github.com/MycroftAI/mycroft-core' diff --git a/mycroft-core.install b/mycroft-core.install index 3a5ed0796c94..38757d4b44d8 100644 --- a/mycroft-core.install +++ b/mycroft-core.install @@ -11,10 +11,10 @@ post_install() { echo "export PROJECT_HOME=\$HOME/Devel" >> /usr/share/mycroft-core/.bashrc echo "source /usr/bin/virtualenvwrapper.sh" >> /usr/share/mycroft-core/.bashrc - sudo -u mycroft-core bash -c 'source ~/.bashrc' &> /dev/null # Initialize virtualenv + sudo -Hu mycroft-core bash -c 'source ~/.bashrc' &> /dev/null # Initialize virtualenv - sudo -u mycroft-core bash -c 'source ~/.bashrc && mkvirtualenv mycroft --system-site-packages -p $(which python2)' - sudo -u mycroft-core bash -c 'source ~/.bashrc && workon mycroft && pip install -r /usr/share/mycroft-core/requirements.txt' + sudo -Hu mycroft-core bash -c 'source ~/.bashrc && mkvirtualenv mycroft --system-site-packages -p $(which python2)' + sudo -Hu mycroft-core bash -c 'source ~/.bashrc && workon mycroft && pip install -r /usr/share/mycroft-core/requirements.txt' echo "*** ATTENTION ***" echo "" @@ -37,7 +37,7 @@ post_install() { post_upgrade() { chown -R mycroft-core:mycroft-core /usr/share/mycroft-core - sudo -u mycroft-core bash -c "source ~/.bashrc && workon mycroft && pip install -r /usr/share/mycroft-core/requirements.txt" + sudo -Hu mycroft-core bash -c "source ~/.bashrc && workon mycroft && pip install -r /usr/share/mycroft-core/requirements.txt" echo "*** ATTENTION ***" echo "" |