From: martin f. krafft Date: Thu, 22 May 2008 08:12:28 +0000 (+0200) Subject: make sure we are in ~ X-Git-Url: https://git.madduck.net/etc/mrsetup.git/commitdiff_plain/37e10039f750d13cadd6235ed20564bb28adc039?hp=4602ff94b01b431c8f26997fb8cced9661c8d9f7 make sure we are in ~ --- diff --git a/mrsetup b/mrsetup index a91f803..a1ba709 100755 --- a/mrsetup +++ b/mrsetup @@ -30,6 +30,8 @@ if [ ! -x "$(command -v git)" ]; then exit 2 fi +cd $HOME + if [ -e .mrconfig ]; then echo E: .mrconfig already exists. >&2 exit 3