gluon-core: ensure version stamp dir existence

This commit is contained in:
Matthias Schiffer 2013-10-01 20:52:06 +02:00
parent ea0064c927
commit 31012af18f
1 changed files with 3 additions and 0 deletions

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
}