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/24f8ec727ea7
branches:  trunk
changeset: 332443:24f8ec727ea7
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 1cb1eb4f79fb -r 24f8ec727ea7 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