pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/powder-toy/files



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Apr 13 12:31:17 UTC 2019

Added Files:
        pkgsrc/games/powder-toy/files: powder-toy.sh.in

Log Message:
games/powder-toy: Add missing file.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/games/powder-toy/files/powder-toy.sh.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/games/powder-toy/files/powder-toy.sh.in
diff -u /dev/null pkgsrc/games/powder-toy/files/powder-toy.sh.in:1.1
--- /dev/null   Sat Apr 13 12:31:17 2019
+++ pkgsrc/games/powder-toy/files/powder-toy.sh.in      Sat Apr 13 12:31:17 2019
@@ -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