pyemacs.sh path changed to static path

This commit is contained in:
Sameer Rahmani 2011-12-04 00:43:41 +03:30
parent f0b3af205f
commit 772f18c434
1 changed files with 1 additions and 7 deletions

View File

@ -9,7 +9,6 @@ echo -e "level customization.\n\n"
read -p "Enter your full name: " fullname read -p "Enter your full name: " fullname
read -p "Enter your email address: " mail read -p "Enter your email address: " mail
read -p "Where is your workspace directory[~/src/]: " workspace read -p "Where is your workspace directory[~/src/]: " workspace
read -p "Where do you want to put pyemacs.sh file[~/bin/]: " addr
# Validating informations # Validating informations
if [ "$workspace" == "" ] if [ "$workspace" == "" ]
@ -17,10 +16,7 @@ then
workspace="$HOME/src/" workspace="$HOME/src/"
fi fi
if [ "$addr" == "" ] addr=$HOME/.kuso
then
addr=$HOME/bin/
fi
# Installing stage1 # Installing stage1
kusohome=`pwd` kusohome=`pwd`
@ -29,8 +25,6 @@ if [ -e ~/.emacs ]; then
echo "Backing up exists .emacs file . . ." echo "Backing up exists .emacs file . . ."
cp ~/.emacs ~/.emacs.backup cp ~/.emacs ~/.emacs.backup
fi fi
addr=$(echo "$addr" |sed "s,\~,$HOME,mg")
echo "Copying files . . . " echo "Copying files . . . "
cp conf/emacs.d/* ~/.emacs.d -r cp conf/emacs.d/* ~/.emacs.d -r
mkdir -p $addr mkdir -p $addr