[game-data-packager] 01/01: fedora: also fix-up bash-completion for new path

Alexandre Detiste detiste-guest at moszumanska.debian.org
Tue Jan 12 19:51:39 UTC 2016


This is an automated email from the git hooks/post-receive script.

detiste-guest pushed a commit to branch master
in repository game-data-packager.

commit ba7747733f12bc1c4b67a3b8caebfe8c76886935
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Tue Jan 12 20:49:40 2016 +0100

    fedora: also fix-up bash-completion for new path
---
 Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile b/Makefile
index 815ab3d..287bdea 100644
--- a/Makefile
+++ b/Makefile
@@ -134,6 +134,9 @@ install:
 
 	mkdir -p $(DESTDIR)/usr/share/bash-completion/completions
 	install -m0644 data/bash-completion/game-data-packager $(DESTDIR)/usr/share/bash-completion/completions/
+ifneq ($(datadir),/usr/share/games)
+	sed -i 's#/usr/share/games#$(datadir)#g' $(DESTDIR)/usr/share/bash-completion/completions/game-data-packager
+endif
 
 	mkdir -p $(DESTDIR)/usr/share/man/man6/
 	mkdir -p $(DESTDIR)/usr/share/man/fr/man6/

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git



More information about the Pkg-games-commits mailing list