From 2050de3c312f7fe70890662a607474ad6b680b70 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Tue, 5 Apr 2011 22:53:56 -0400 Subject: [PATCH] plugui-git to 20110404-1 --- core/plugui-git/PKGBUILD | 2 +- core/plugui-git/plugui.install | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) 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 }