mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
30 lines
874 B
Plaintext
30 lines
874 B
Plaintext
From f609f6055ea0bcb5025171bd5ef5fb0c6830c5dd Mon Sep 17 00:00:00 2001
|
|
From: begasus <begasus@gmail.com>
|
|
Date: Sat, 26 Jan 2019 16:21:26 +0100
|
|
Subject: don't use chown
|
|
|
|
|
|
diff --git a/Makefile b/Makefile
|
|
index 6db0ff8..5aa803f 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -42,7 +42,6 @@ graphics/logo.png: graphics/graphics.svg
|
|
install: all
|
|
mkdir -p $(DESTDIR)$(gamesdir)
|
|
cp monsterz $(DESTDIR)$(gamesdir)/
|
|
- chown root:games $(DESTDIR)$(gamesdir)/monsterz
|
|
chmod g+s $(DESTDIR)$(gamesdir)/monsterz
|
|
mkdir -p $(DESTDIR)$(pkgdatadir)/graphics
|
|
mkdir -p $(DESTDIR)$(pkgdatadir)/sound
|
|
@@ -51,7 +50,6 @@ install: all
|
|
cp $(SOUND) $(MUSIC) $(DESTDIR)$(pkgdatadir)/sound/
|
|
mkdir -p $(DESTDIR)$(scoredir)
|
|
test -f $(DESTDIR)$(scorefile) || echo "" > $(DESTDIR)$(scorefile)
|
|
- chown root:games $(DESTDIR)$(scorefile)
|
|
chmod g+w $(DESTDIR)$(scorefile)
|
|
|
|
uninstall:
|
|
--
|
|
2.19.1
|
|
|