mirror of
https://github.com/archlinux/aur.git
synced 2026-01-27 20:28:31 +01:00
DISPLAY= keeps graphic browsers from starting, but not lynx & co. "true" just returns success, which is what we need here. Also: updated stabilisation to 1.7b1 a while ago.. git-svn-id: http://svn.kraehen.org/aur@115 04e22907-73ef-438a-a52f-a971dc6d3b47
35 lines
777 B
Bash
35 lines
777 B
Bash
post_install() {
|
|
cd /opt/addon-sdk-git
|
|
. bin/activate
|
|
BROWSER=true cfx docs
|
|
deactivate
|
|
|
|
/bin/cat <<EOF
|
|
Tip: you should add this alias in your bash or zsh rc, to easily activate
|
|
the Addon SDK:
|
|
alias addon-sdk="cd /opt/addon-sdk-git && source bin/activate; cd -"
|
|
EOF
|
|
}
|
|
|
|
post_upgrade() {
|
|
cd /opt/addon-sdk-git
|
|
. bin/activate
|
|
BROWSER=true cfx docs
|
|
deactivate
|
|
|
|
/bin/cat <<EOF
|
|
Tip: you should add this alias in your bash or zsh rc, to easily activate
|
|
the Addon SDK:
|
|
alias addon-sdk="cd /opt/addon-sdk-git && source bin/activate; cd -"
|
|
EOF
|
|
}
|
|
|
|
pre_remove() {
|
|
cd /opt/addon-sdk-git/python-lib
|
|
rm -f *.pyc */*.pyc cuddlefish/docs/*.pyc
|
|
cd /opt/addon-sdk-git/doc
|
|
rm -f index.html status.md5
|
|
rm -rf dev-guide packages
|
|
}
|
|
|
|
# vim:set ts=2 sw=2 ft=sh et:
|