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

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

version 1.3, 2021/09/26 14:02:56 version 1.4, 2021/10/19 10:05:56
Line 41  cat mtctl_default.sh >> mtctl
Line 41  cat mtctl_default.sh >> mtctl
 rm mtctl_default.sh  rm mtctl_default.sh
   
 chmod 555 mtctl  chmod 555 mtctl
 $ROOTCMD install mtctl /usr/bin/mtctl  install mtctl /usr/bin/mtctl
 $ROOTCMD mkdir -p /etc/mtctl  mkdir -p /etc/mtctl
 $ROOTCMD rm mtctl  rm mtctl
   
 if [ "$SHLL" == "bash" ]; then  if [ "$SHLL" == "bash" ]; then
           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
         $ROOTCMD mkdir -p /etc/bash_completion.d          mkdir -p /etc/bash_completion.d
         $ROOTCMD 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
 elif [ "$SHLL" == "ksh" ]; then  elif [ "$SHLL" == "ksh" ]; then
         if [ "`which rsync 2> /dev/null`" == "" ]; then          if [ "`which rsync 2> /dev/null`" == "" ]; then
                 $ROOTCMD pkg_delete rsync                  pkg_delete rsync
         fi          fi
         $ROOTCMD pkg_add rsync--          pkg_add rsync--
 fi  fi
   
 echo -e "Done!\n\nThanks for installing mtctl!\nYou can now use it by running $ mtctl"  echo -e "Done!\n\nThanks for installing mtctl!\nYou can now use it by running $ mtctl"

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

CVSweb