diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-10-18 00:54:25 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-10-18 00:54:25 +0000 |
commit | d8aab97b8469c496d34a63e7fceed79b43848684 (patch) | |
tree | 369eacdc26219d21dadf4799130753cb2d673d77 /games/apricots | |
parent | 70b129d1ae26514c8dcd8ad16ba1da153163c56a (diff) | |
download | ports-d8aab97b8469c496d34a63e7fceed79b43848684.tar.gz ports-d8aab97b8469c496d34a63e7fceed79b43848684.zip |
Notes
Diffstat (limited to 'games/apricots')
-rw-r--r-- | games/apricots/files/apricots.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/games/apricots/files/apricots.in b/games/apricots/files/apricots.in index 4b5ad8258a41..839cd66a45d2 100644 --- a/games/apricots/files/apricots.in +++ b/games/apricots/files/apricots.in @@ -4,8 +4,10 @@ if [ -z "$XDG_CONFIG_HOME" ]; then XDG_CONFIG_HOME=$HOME/.config fi -mkdir -p $XDG_CONFIG_HOME/apricots -cd $XDG_CONFIG_HOME/apricots +DOTDIR="$XDG_CONFIG_HOME/apricots" + +mkdir -p "$DOTDIR" +cd "$DOTDIR" || exit 1 if [ ! -f apricots.cfg ]; then cp %%DATADIR%%/apricots.cfg . |