Commit ac893154 authored by Anton Midyukov's avatar Anton Midyukov

control: fix condition for run live/image-scripts.d/51-control-install

parent d6fba8e6
#!/bin/sh #!/bin/sh
# setup control(8) states for the installed system # setup control(8) states for the installed system
[ -n "$GLOBAL_CONTROL" ] || [ -x /usr/sbin/install2 ] || [ -x /usr/libexec/install2/install2 ] || exit 0 [ -n "$GLOBAL_CONTROL" ] || exit 0
[ -x /usr/sbin/install2 ] || [ -x /usr/libexec/install2/install2 ] || exit 0
echo "$GLOBAL_CONTROL" | tr ' :' '\n ' > /usr/share/install2/control echo "$GLOBAL_CONTROL" | tr ' :' '\n ' > /usr/share/install2/control
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