Skip to content

Commit 061f427

Browse files
committed
Create the apps directory before setting app property
1 parent f218e45 commit 061f427

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

files/3-rinkhals/tools.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,10 @@ set_app_property() {
421421
APP=$1
422422
PROPERTY=$2
423423
VALUE=$3
424+
425+
if [ ! -d $RINKHALS_HOME/apps ]; then
426+
mkdir -p $RINKHALS_HOME/apps
427+
fi
424428

425429
CONFIG_PATH=$USER_APP_PATH/$APP.config
426430
CONFIG=$(cat $CONFIG_PATH 2>/dev/null)

0 commit comments

Comments
 (0)