From 69da835d04e741f4e85da3c473ba86c8801931fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Fri, 16 Mar 2018 19:14:29 +0100 Subject: Merge install scripts --- scripts/ovh_cloud_instance/arch_host_script.sh | 2 +- scripts/send_and_run.tcl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/ovh_cloud_instance/arch_host_script.sh b/scripts/ovh_cloud_instance/arch_host_script.sh index c188514..3408563 100755 --- a/scripts/ovh_cloud_instance/arch_host_script.sh +++ b/scripts/ovh_cloud_instance/arch_host_script.sh @@ -29,7 +29,7 @@ sudo mount "$DEVICE" /mnt for i in /mnt/*; do if [ "$i" = "/mnt/boot" ]; then # keep /boot/grub - sudo rm -f $i/* + sudo rm -f $i/* || true else sudo rm -rf $i fi diff --git a/scripts/send_and_run.tcl b/scripts/send_and_run.tcl index a087a2d..42fae62 100755 --- a/scripts/send_and_run.tcl +++ b/scripts/send_and_run.tcl @@ -6,7 +6,7 @@ set environment [lindex $argv 3] set script [lindex $argv 4] set files [lrange $argv 4 end] -if {$password == ""} { +if {$password == "x"} { set ask_password 0 } else { set ask_password 1 -- cgit v1.2.3