3
0
Fork 0
forked from mirrors/nixpkgs

Revert "modemmanager: rename ModemManager.service to modem-manager.service"

This reverts commit c6882b2cf9.
This commit is contained in:
Jörg Thalheim 2018-12-02 12:19:30 +00:00 committed by Florian Klink
parent f102c309c9
commit 3f9ac24d53

View file

@ -33,12 +33,9 @@ stdenv.mkDerivation rec {
doCheck = true;
postInstall = ''
# rename to modem-manager to be in style
mv $out/etc/systemd/system/ModemManager.service $out/etc/systemd/system/modem-manager.service
# systemd in NixOS doesn't use `systemctl enable`, so we need to establish
# aliases ourselves.
ln -s $out/etc/systemd/system/modem-manager.service \
ln -s $out/etc/systemd/system/ModemManager.service \
$out/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service
'';