summaryrefslogtreecommitdiff
path: root/games/bsnes/bsnes-v091.patch
diff options
context:
space:
mode:
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