From: Ian Kelling Date: Mon, 29 Jul 2019 17:04:44 +0000 (-0400) Subject: fix paths due to no fixing bashrc on ssh X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=commitdiff_plain;h=6561b24248188e5bce423acab25c2c14c7e5ce6d fix paths due to no fixing bashrc on ssh --- diff --git a/primary-setup b/primary-setup index 22ec48e..1a6ce0e 100755 --- a/primary-setup +++ b/primary-setup @@ -33,6 +33,6 @@ else # done fi -mail-setup +/a/exe/mail-setup exit 0 : diff --git a/switch-mail-host b/switch-mail-host index 199c16d..3264224 100644 --- a/switch-mail-host +++ b/switch-mail-host @@ -142,7 +142,7 @@ EOF # I think exim will try ipv6 first, so no need to disable # ipv6 i think. -$old_shell primary-setup $new_hostname +$old_shell /a/exe/primary-setup $new_hostname if $localhost_new; then btrbk-run -s $old_host $mp_args @@ -150,7 +150,7 @@ else btrbk-run -t $new_host $mp_args fi -$new_shell primary-setup $new_hostname +$new_shell /a/exe/primary-setup $new_hostname if $restore_new_btrbk; then $new_shell sudo systemctl start btrbk.timer