diff options
Diffstat (limited to 'install.nu')
| -rwxr-xr-x | install.nu | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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" |
