Commit 7c082610 authored by fuyanbin's avatar fuyanbin
Browse files

fix: 判断有没有pgrep命令

parent ab6ecb05
Pipeline #42316 passed with stages
in 1 minute and 1 second
...@@ -17,7 +17,7 @@ init() { ...@@ -17,7 +17,7 @@ init() {
ln -s $BUSYBOXY "$CACHE_DIR/local/tmp/bin/chroot" ln -s $BUSYBOXY "$CACHE_DIR/local/tmp/bin/chroot"
fi fi
if [ -e /system/bin/pgrep ] if [ ! -e /system/bin/pgrep ]
then then
ln -s $BUSYBOXY "$CACHE_DIR/local/tmp/bin/pgrep" ln -s $BUSYBOXY "$CACHE_DIR/local/tmp/bin/pgrep"
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment