plugui-git to 20110404-1

This commit is contained in:
Kevin Mihelich 2011-04-05 22:53:56 -04:00
parent 737a987221
commit 2050de3c31
2 changed files with 8 additions and 5 deletions

View file

@ -1,7 +1,7 @@
plugrel=1
pkgname=plugui-git
pkgver=20110323
pkgver=201100405
pkgrel=1
pkgdesc="PlugApps web interface"
arch=('arm')

View file

@ -1,10 +1,13 @@
post_install() {
echo "Setting up PlugUI.."
plugui_setup() {
echo "Synchronizing database.."
python2 /opt/PlugUI/manage.py syncdb --noinput
echo "Running maintenance system.."
/opt/PlugUI/plugmaintenance.py > /dev/null 2>&1
}
post_install() {
plugui_setup
echo ""
echo "To start PlugUI type: /etc/rc.d/plugui start"
@ -13,5 +16,5 @@ post_install() {
}
post_upgrade() {
post_install
plugui_setup
}