gluon-core: ensure version stamp dir existence

This commit is contained in:
Matthias Schiffer 2013-10-01 20:52:06 +02:00
parent d508728da6
commit 568cfbf398

View File

@ -5,6 +5,9 @@ UPGRADE_DIR=/lib/gluon/upgrade
VERSION_DIR=/lib/gluon/version
mkdir -p "$VERSION_DIR"
version_of() {
opkg status "gluon-$1" | grep '^Version: ' | cut -d' ' -f 2
}