diff options
author | Rafael Reggiani Manzo | 2016-12-30 09:12:22 -0200 |
---|---|---|
committer | Rafael Reggiani Manzo | 2016-12-30 09:12:22 -0200 |
commit | 5a2441f555d869e52e40577bb8471da118d7c3e9 (patch) | |
tree | 551c3920866219543b8db822d909e782f319999d /mycroft-core.install | |
parent | 556df9f7b8d74dc4e7d502a57608f4e05613b8eb (diff) | |
download | aur-5a2441f555d869e52e40577bb8471da118d7c3e9.tar.gz |
Upgrade to v0.8.0
This upgrade raised the issue of permission setting on the install
script causing warnings as the package has no knowledge about it.
A warning has been added about the new expected identification file
name.
Diffstat (limited to 'mycroft-core.install')
-rw-r--r-- | mycroft-core.install | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mycroft-core.install b/mycroft-core.install index 3ccd7bea8630..3a5ed0796c94 100644 --- a/mycroft-core.install +++ b/mycroft-core.install @@ -4,7 +4,6 @@ pre_install() { post_install() { chown -R mycroft-core:mycroft-core /usr/share/mycroft-core - chmod g+w /usr/share/mycroft-core touch /usr/share/mycroft-core/.bashrc echo "# Virtualenv initialization" >> /usr/share/mycroft-core/.bashrc @@ -37,7 +36,13 @@ 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" + + echo "*** ATTENTION ***" + echo "" + echo "* Upgrading to version v0.8.0 without repairing requires to each of Mycroft's user to run:" + echo " cp ~/.mycroft/identity/identity.json ~/.mycroft/identity/identity2.json" } post_remove() { |