13 lines
273 B
Plaintext
13 lines
273 B
Plaintext
post_install() {
|
|
runit_service_dir="/etc/runit/runsvdir/default"
|
|
runit_service_link="/var/service"
|
|
|
|
if [ "$(readlink -- "${runit_service_link}")" = "${runit_service_dir}" ]; then
|
|
ln -s ${runit_service_dir} ${runit_service_link}
|
|
fi
|
|
}
|
|
|
|
post_upgrade() {
|
|
post_install
|
|
}
|