diff --git a/core/plugui-git/PKGBUILD b/core/plugui-git/PKGBUILD index fd20f8baa..7e60cf9e8 100644 --- a/core/plugui-git/PKGBUILD +++ b/core/plugui-git/PKGBUILD @@ -1,7 +1,7 @@ plugrel=1 pkgname=plugui-git -pkgver=20110323 +pkgver=201100405 pkgrel=1 pkgdesc="PlugApps web interface" arch=('arm') diff --git a/core/plugui-git/plugui.install b/core/plugui-git/plugui.install index c46351ec8..d9b2f3cba 100644 --- a/core/plugui-git/plugui.install +++ b/core/plugui-git/plugui.install @@ -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 }