forked from hasufell/hasufell-repository
sys-apps/openrc: remove legacy migration in pkg_postinst
This commit is contained in:
parent
83c50ba440
commit
235eaa877f
@ -143,13 +143,6 @@ pkg_postinst() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${ROOT}" = "/" ]]; then
|
|
||||||
if ! /usr/$(exhost --target)/libexec/rc/sh/migrate-to-run.sh; then
|
|
||||||
ewarn "The dependency data could not be migrated to /run/openrc."
|
|
||||||
ewarn "This means you need to reboot your system."
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# update the dependency tree after touching all files #224171
|
# update the dependency tree after touching all files #224171
|
||||||
[[ "${ROOT}" = "/" ]] &&
|
[[ "${ROOT}" = "/" ]] &&
|
||||||
"${ROOT}usr/$(exhost --target)/libexec"/rc/bin/rc-depend -u
|
"${ROOT}usr/$(exhost --target)/libexec"/rc/bin/rc-depend -u
|
||||||
|
Loading…
Reference in New Issue
Block a user