diff options
author | Pedro Henrique | 2018-12-22 00:41:32 -0300 |
---|---|---|
committer | Pedro Henrique | 2018-12-22 00:41:32 -0300 |
commit | 1b2d2002b275be684f29376148f2e2efdb8ca0d1 (patch) | |
tree | a9002b35c3095cea1e9618a2cf08a2ae33655de2 /overgrive.install | |
download | aur-1b2d2002b275be684f29376148f2e2efdb8ca0d1.tar.gz |
Initial commit
Diffstat (limited to 'overgrive.install')
-rw-r--r-- | overgrive.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/overgrive.install b/overgrive.install new file mode 100644 index 000000000000..eb6930ac58f2 --- /dev/null +++ b/overgrive.install @@ -0,0 +1,15 @@ +post_install() { + virtualenv2 --system-site-packages /opt/thefanclub/overgrive/venv + /opt/thefanclub/overgrive/venv/bin/python2 -m pip install --upgrade google-api-python-client + /opt/thefanclub/overgrive/venv/bin/python2 -m pip install --upgrade oauth2client + sudo glib-compile-schemas /usr/share/glib-2.0/schemas +} +post_upgrade() { + post_install +} +post_remove() { + sudo rm -rf /opt/thefanclub/overgrive/ + if [ -z "$(ls -A /opt/thefanclub/)" ]; then + sudo rmdir /opt/thefanclub/ + fi +}
\ No newline at end of file |