From 7e42355221f1fbe73f5a98ad4638915998cdb079 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 9 Nov 2020 12:55:25 -0300 Subject: nixos-switch.sh: Delete placeholder directory at the end --- nixos-switch.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos-switch.sh b/nixos-switch.sh index 6ded091..f2df2ac 100755 --- a/nixos-switch.sh +++ b/nixos-switch.sh @@ -30,3 +30,4 @@ envsubst < envsubst-configuration.nix | ssh "$TLD" 'cat > /data/nixos/envsubst-c scp vps-configuration.nix "${TLD}:/etc/nixos/configuration.nix" echo "${USER_PASSWORD}" | ssh "$TLD" sudo -S nix-channel --add "https://nixos.org/channels/nixos-unstable" nixos echo "${USER_PASSWORD}" | ssh "$TLD" sudo -S -i nixos-rebuild switch --upgrade +ssh "$TLD" rm -rf /data/static/ci-logs/placeholder/ -- cgit v1.2.3