Create missing directories so it runs out of the box.
This commit is contained in:
parent
757a481575
commit
ea1d64b3ce
|
@ -8,3 +8,9 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-regexcheck"
|
||||||
termux_step_pre_configure() {
|
termux_step_pre_configure() {
|
||||||
LDFLAGS+=" -llog"
|
LDFLAGS+=" -llog"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
termux_step_post_massage() {
|
||||||
|
mkdir -p $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/var/log/$TERMUX_PKG_NAME
|
||||||
|
mkdir -p $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/var/run/$TERMUX_PKG_NAME
|
||||||
|
find $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/var -exec chmod -f u+w,g-rwx,o-rwx \{\} \;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue