acpid: fix cpupower
[julm/julm-nix.git] / install
diff --git a/install b/install
index 633bc49b9862bc1a3c8e09a11cbd9ee0166ad06d..2d41b40e44575aa15f3da02e15ce8ce1c77d30e8 100755 (executable)
--- a/install
+++ b/install
@@ -1,8 +1,8 @@
 #!/bin/sh -eux
 cd "${0%/*}"
 chmod -R g-rwx,o-rwx "$PWD/private/root"
-trap 'git reset private/root private/hosts/"*"/root' EXIT
-git rm -rf --cached --ignore-unmatch private/root private/hosts/'*'/root # prevent copying to /nix/store
+trap 'git reset private/root private/hosts/*/root' EXIT
+git rm -rf --cached --ignore-unmatch private/root private/hosts/*/root # prevent copying to /nix/store
 sudo ln -sfn "$PWD/private/root" /root/private
 # To build offline, use: --option no-net 1 --option substituters ""
 sudo time nixos-rebuild switch --flake . "$@"