summaryrefslogtreecommitdiff
path: root/games/bsnes/bsnes-v091.patch
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2013-01-13 15:43:09 +0100
committerdsomero <xgizzmo@slackbuilds.org>2013-01-20 09:03:04 -0500
commitdd04513540540de68f763904ef7b310d44564daf (patch)
tree37a38288bb197436159b46decd3a624111010b15 /games/bsnes/bsnes-v091.patch
parentf757ebccbd9750755be813c8a1646540ed929fb1 (diff)
downloadslackbuilds-dd04513540540de68f763904ef7b310d44564daf.tar.gz
games/bsnes: Fixed up some perms in usr/share/bsnes/*.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/bsnes/bsnes-v091.patch')
-rw-r--r--games/bsnes/bsnes-v091.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/bsnes/bsnes-v091.patch b/games/bsnes/bsnes-v091.patch
index 2cf1aa1417..654fede15f 100644
--- a/games/bsnes/bsnes-v091.patch
+++ b/games/bsnes/bsnes-v091.patch
@@ -58,10 +58,10 @@ diff -crB bsnes_v091-source/bsnes/target-ethos/Makefile bsnes_v091-source-hh/bsn
! # cp data/cheats.xml ~/.config/$(name)/cheats.xml
! # chmod -R 777 ~/.config/$(name)
!
-! install -d -m 644 $(DESTDIR)$(prefix)/share/$(name)/profile
+! install -d -m 755 $(DESTDIR)$(prefix)/share/$(name)/profile
! cp -R profile/* $(DESTDIR)$(prefix)/share/$(name)/profile
-! cp data/cheats.xml $(DESTDIR)$(prefix)/share/$(name)/profile
-! chmod -R 644 $(DESTDIR)$(prefix)/share/$(name)/profile
+! install -m 644 data/cheats.xml $(DESTDIR)$(prefix)/share/$(name)/profile/cheats.xml
+! chmod -R 644 $(DESTDIR)$(prefix)/share/$(name)/profile/*/*
!
endif