Changeset 1350


Ignore:
Timestamp:
Jan 24, 2011, 5:03:07 PM (7 years ago)
Author:
dkg
Message:

debirf: do not just remove lines in runit postinst, because it can leave an empty if stanza. This appears to be the case with (at least) version 2.1.1-6.1 of runit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debirf/src/modules/install-runit

    r1195 r1350  
    3333    local postinst="$DEBIRF_ROOT"/var/lib/dpkg/info/runit.postinst
    3434    mv "$postinst"  "$postinst".orig
    35     <"$postinst".orig grep -v 'kill -s HUP 1' >"$postinst"
     35    <"$postinst".orig sed 's/kill -s HUP 1/:kill -s HUP 1/' >"$postinst"
    3636    rm "$postinst".orig
    3737
Note: See TracChangeset for help on using the changeset viewer.