--- bin/xfm.install.script +++ bin/xfm.install.script @@ -6,18 +6,18 @@ # (c) Simon Marlow 1994 #------------------------------------------------------------------------- -if [ -d $HOME/.xfm ]; then - echo You already have a ~/.xfm directory, would you like it +if [ -d $HOME/.desk/xfm ]; then + echo You already have a ~/.desk/xfm directory, would you like it echo -n 'replaced with the default configuration? [n] ' read ANS if [ "$ANS" != "y" -a "$ANS" != "Y" ]; then echo Aborting. exit 1 fi - rm -rf $HOME/.xfm + rm -rf $HOME/.desk/xfm fi -mkdir $HOME/.xfm && cp /usr/X11/lib/X11/xfm/dot.xfm/?* $HOME/.xfm +mkdir -p $HOME/.desk/xfm && cp /usr/X11/lib/X11/xfm/dot.xfm/?* $HOME/.desk/xfm if [ $? != 0 ]; then echo Installation failed for some reason. Please consult your @@ -25,10 +25,10 @@ exit 1 fi -chmod u+w $HOME/.xfm/?* +chmod u+w $HOME/.desk/xfm/?* -if [ ! -d $HOME/.trash ]; then - mkdir $HOME/.trash +if [ ! -d $HOME/.desk/trash ]; then + mkdir $HOME/.desk/trash fi echo Default configuration files installed.