[BACK]Return to installer.sh CVS log [TXT][DIR] Up to [local] / mtctl

Diff for /mtctl/installer.sh between version 1.4 and 1.5

version 1.4, 2021/10/19 10:05:56 version 1.5, 2022/11/22 11:28:03
Line 33  fi
Line 33  fi
 echo -e "\nmtctl Installer, Starting up..."  echo -e "\nmtctl Installer, Starting up..."
 SHaLL="`which $SHLL`"  SHaLL="`which $SHLL`"
   
 if [ \! -f mtctl_default.sh ]; then curl -sO mtctl_default.sh "https://cvsweb.planetofnix.com/cgi-bin/cvsweb/~checkout~/mtctl/mtctl_default.sh?content-type=text/plain"; fi  if [ \! -f mtctl_default.sh ]; then curl -so mtctl_default.sh "https://cvsweb.planetofnix.com/cgi-bin/cvsweb/~checkout~/mtctl/mtctl_default.sh?content-type=text/plain"; fi
   
 VARS="#!$SHaLL\n"  VARS="#!$SHaLL\n"
 echo -e "$VARS" > mtctl  echo -e "$VARS" > mtctl
Line 47  rm mtctl
Line 47  rm mtctl
   
 if [ "$SHLL" == "bash" ]; then  if [ "$SHLL" == "bash" ]; then
         apt-get install rsync          apt-get install rsync
         if [ \! -f mtctl-completion.bash ]; then curl -sO mtctl-completion.bash "https://cvsweb.planetofnix.com/cgi-bin/cvsweb/~checkout~/mtctl/mtctl-completion.bash?content-type=text/plain"; fi          if [ \! -f mtctl-completion.bash ]; then curl -so mtctl-completion.bash "https://cvsweb.planetofnix.com/cgi-bin/cvsweb/~checkout~/mtctl/mtctl-completion.bash?content-type=text/plain"; fi
         mkdir -p /etc/bash_completion.d          mkdir -p /etc/bash_completion.d
         mv mtctl-completion.bash /etc/bash_completion.d/mtctl-completion          mv mtctl-completion.bash /etc/bash_completion.d/mtctl-completion
         . /etc/bash_completion.d/mtctl-completion          . /etc/bash_completion.d/mtctl-completion

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

CVSweb