diff --git a/sys-power/nut/nut-2.7.3.ebuild b/sys-power/nut/nut-2.7.3.ebuild index b137d65..8fe6fa9 100644 --- a/sys-power/nut/nut-2.7.3.ebuild +++ b/sys-power/nut/nut-2.7.3.ebuild @@ -193,11 +193,11 @@ src_install() { einfo "Setting up permissions on files and directories" fperms 0700 /var/lib/nut - fowners nut:nut /var/lib/nut + efowners nut nut /var/lib/nut # Do not remove eval here, because the variables contain shell expansions. eval fperms 0640 ${NUT_PRIVATE_FILES} - eval fowners root:nut ${NUT_PRIVATE_FILES} + eval efowners root nut ${NUT_PRIVATE_FILES} # Do not remove eval here, because the variables contain shell expansions. eval fperms 0644 ${NUT_PUBLIC_FILES} @@ -214,7 +214,7 @@ src_install() { einfo "Installing non-udev hotplug support" insinto /etc/hotplug/usb insopts -m 755 - doins scripts/hotplug/nut-usbups.hotplug + #doins scripts/hotplug/nut-usbups.hotplug fi dobashcomp "${S}"/scripts/misc/nut.bash_completion @@ -224,11 +224,11 @@ pkg_postinst() { # this is to ensure that everybody that installed old versions still has # correct permissions - chown nut:nut "${ROOT}"/var/lib/nut 2>/dev/null + echown nut nut "${ROOT}"/var/lib/nut 2>/dev/null chmod 0700 "${ROOT}"/var/lib/nut 2>/dev/null # Do not remove eval here, because the variables contain shell expansions. - eval chown root:nut "${ROOT}"${NUT_PRIVATE_FILES} 2>/dev/null + eval echown root nut "${ROOT}"${NUT_PRIVATE_FILES} 2>/dev/null eval chmod 0640 "${ROOT}"${NUT_PRIVATE_FILES} 2>/dev/null # Do not remove eval here, because the variables contain shell expansions.