mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
20 lines
423 B
Text
20 lines
423 B
Text
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"
|
|
echo ""
|
|
echo "Add 'plugui' to the end of the DAEMONS list in /etc/rc.conf to start on boot."
|
|
}
|
|
|
|
post_upgrade() {
|
|
plugui_setup
|
|
}
|