Skip to content

Commit

Permalink
fix installer.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
centminmod committed Aug 3, 2015
1 parent 17ee3b8 commit 1fa19fc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions installer.sh
Expand Up @@ -106,16 +106,16 @@ chmod +x centmin.sh
sed -i '/cmdir=/d' /root/.bashrc
sed -i '/centmin=/d' /root/.bashrc
rm -rf /usr/bin/cmdir
alias cmdir="pushd /usr/local/src/centminmod-${branchname}"
echo "alias cmdir='pushd /usr/local/src/centminmod-${branchname}'" >> /root/.bashrc
echo -e "pushd /usr/local/src/centminmod-${branchname}; bash centmin.sh" > /usr/bin/centmin
alias cmdir="pushd /usr/local/src/centminmod"
echo "alias cmdir='pushd /usr/local/src/centminmod'" >> /root/.bashrc
echo -e "pushd /usr/local/src/centminmod; bash centmin.sh" > /usr/bin/centmin
chmod 0700 /usr/bin/centmin
echo
echo "Created command shortcuts:"
echo "* type cmdir to change to Centmin Mod install directory"
echo " at /usr/local/src/centminmod-${branchname}"
echo " at /usr/local/src/centminmod"
echo "* type centmin call and run centmin.sh"
echo " at /usr/local/src/centminmod-${branchname}/centmin.sh"
echo " at /usr/local/src/centminmod/centmin.sh"
}

if [[ "$DEF" = 'novalue' ]]; then
Expand Down

0 comments on commit 1fa19fc

Please sign in to comment.