gluon-core: ensure version stamp dir existence
This commit is contained in:
parent
d508728da6
commit
568cfbf398
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user