Am 17.01.2018 um 11:35 schrieb Guillem Jover:
> --- a/script/deb-systemd-helper
> +++ b/script/deb-systemd-helper
> @@ -122,6 +122,8 @@ sub find_unit {
>          $service_path = "/etc/systemd/system/$scriptname";
>      } elsif (-f "/lib/systemd/system/$scriptname") {
>          $service_path = "/lib/systemd/system/$scriptname";
> +    } elsif (-f "/usr/lib/systemd/system/$scriptname") {
> +        $service_path = "/usr/lib/systemd/system/$scriptname";
>      }
>      return $service_path;
>  }

Looks ok to me on a cursory glance.
With merged-usr in mind, I wonder though if we should prefer
/usr/lib/systemd over /lib/systemd. The latter will be a symlink in such
a case and by prefering /usr/lib/systemd we'd avoid one indirection.

Felipe, wdyt?


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to