Browse Source

Stefan Fiedler:


			
			
				rocklinux
			
			
		
Stefan Fiedler 20 years ago
parent
commit
80bdb0b541
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      package/blindcoder/nethack/nethack.conf

+ 5
- 4
package/blindcoder/nethack/nethack.conf

@ -216,6 +216,7 @@ createpatch () {
fi fi
if [ "$ROCKCFG_PKG_NETHACK_NEW" != "news" ] ; then if [ "$ROCKCFG_PKG_NETHACK_NEW" != "news" ] ; then
cat >>$xx<<-EEE cat >>$xx<<-EEE
@@ -152,1 +152,1 @@
-#define NEWS "news" /* the file containing the latest hack news */ -#define NEWS "news" /* the file containing the latest hack news */
+#define NEWS "$ROCKCFG_PKG_NETHACK_NEW" /* the file containing the latest hack news */ +#define NEWS "$ROCKCFG_PKG_NETHACK_NEW" /* the file containing the latest hack news */
EEE EEE
@ -255,10 +256,10 @@ createpatch () {
if [ "$ROCKCFG_PKG_NETHACK_HACKDIR" != "/usr/games/lib/nethackdir" ] ; then if [ "$ROCKCFG_PKG_NETHACK_HACKDIR" != "/usr/games/lib/nethackdir" ] ; then
cat >>$xx<<-EEE cat >>$xx<<-EEE
@@ -203,3 +203,3 @@ @@ -203,3 +203,3 @@
# else
-# define HACKDIR "/usr/games/lib/nethackdir"
+# define HACKDIR "$ROCKCFG_PKG_NETHACK_HACKDIR"
# endif
# ifndef HACKDIR
-# define HACKDIR "/usr/games/lib/nethackdir"
+# define HACKDIR "$ROCKCFG_PKG_NETHACK_HACKDIR"
# endif
EEE EEE
fi fi

Loading…
Cancel
Save