sxmo-utils: fix some forgotten superd users to systemd
This commit is contained in:
parent
0eb8244897
commit
d740dbe049
|
@ -133,6 +133,8 @@ stdenv.mkDerivation rec {
|
||||||
--replace "/bin/chgrp" "${coreutils}/bin/chgrp" \
|
--replace "/bin/chgrp" "${coreutils}/bin/chgrp" \
|
||||||
--replace "/bin/chmod" "${coreutils}/bin/chmod"
|
--replace "/bin/chmod" "${coreutils}/bin/chmod"
|
||||||
'' + lib.optionalString preferSystemd ''
|
'' + lib.optionalString preferSystemd ''
|
||||||
|
shopt -s globstar
|
||||||
|
sed -i 's/superctl status "$1" | grep -q started/systemctl --user is-active --quiet "$1"/g' **/*.sh
|
||||||
sed -i 's/superctl/systemctl --user/g' **/*.sh
|
sed -i 's/superctl/systemctl --user/g' **/*.sh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user