aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall.nu6
1 files changed, 3 insertions, 3 deletions
diff --git a/install.nu b/install.nu
index 5642856..b702beb 100755
--- a/install.nu
+++ b/install.nu
@@ -18,8 +18,8 @@ let DEVICE_ID = match (uname | get nodename) {
# get locations
let PORTAGE_DIR = match ($DEVICE_ID) {
- "010" | "020" => $"($env.HOME)/src/portage/src",
- "110" | "120" => $"($env.HOME)/portage/src",
+ "010" | "020" => "/home/autumn/src/portage/src",
+ "110" | "120" => "/root/portage/src",
_ => { error make -u { msg: "unsupported device" } }
}
@@ -28,4 +28,4 @@ let PORTAGE_DIR = match ($DEVICE_ID) {
# make.conf
try { rm "/etc/portage/make.conf" }
-mv $"($PORTAGE_DIR)/make/($DEVICE_ID)_make.conf" "/etc/portage/make.conf"
+cp $"($PORTAGE_DIR)/make/($DEVICE_ID)_make.conf" "/etc/portage/make.conf"