mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
pkg: fix error on +PRE_DEINSTALL
This commit is contained in:
parent
931efa6867
commit
78bdb9aef5
@ -8,8 +8,7 @@ rm -f /etc/shells.bak
|
||||
|
||||
echo "Unhooking from /etc/rc"
|
||||
cp /etc/rc /etc/rc.bak
|
||||
LINES=\$(cat /etc/rc | wc -l)
|
||||
tail -n \$(expr \${LINES} - 4) /etc/rc.bak > /etc/rc
|
||||
tail -n +5 /etc/rc.bak > /etc/rc
|
||||
rm -f /etc/rc.bak
|
||||
|
||||
echo "Enabling FreeBSD mirror"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user