sys-apps/openrc: remove legacy migration in pkg_postinst

This commit is contained in:
Julian Ospald 2016-04-22 15:21:21 +02:00
parent 83c50ba440
commit 235eaa877f
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -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