pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/powder-toy/files games/powder-toy: Add missing f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/371658238358
branches:  trunk
changeset: 394443:371658238358
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Apr 13 12:31:17 2019 +0000

description:
games/powder-toy: Add missing file.

diffstat:

 games/powder-toy/files/powder-toy.sh.in |  9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r d1c915cb7693 -r 371658238358 games/powder-toy/files/powder-toy.sh.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/powder-toy/files/powder-toy.sh.in   Sat Apr 13 12:31:17 2019 +0000
@@ -0,0 +1,9 @@
+#!/bin/sh -e
+if [ ${XDG_DATA_HOME} ]; then
+       mkdir -p ${XDG_DATA_HOME}/powder-toy
+       cd ${XDG_DATA_HOME}/powder-toy
+else
+       mkdir -p ${HOME}/.local/share/powder-toy
+       cd ${HOME}/.local/share/powder-toy
+fi
+exec @PREFIX@/libexec/powder-toy "$@"



Home | Main Index | Thread Index | Old Index