[game-data-packager] 12/13: fix installation of multiple .debs

Simon McVittie smcv at debian.org
Sun Jan 4 22:36:21 UTC 2015


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

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

commit bab3e28156b25c6dcc0a9dab041af0d308df0c38
Author: Simon McVittie <smcv at debian.org>
Date:   Sun Jan 4 22:23:28 2015 +0000

    fix installation of multiple .debs
---
 lib/game-data-packager-shared | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/game-data-packager-shared b/lib/game-data-packager-shared
index 0f0e19d..f0278db 100644
--- a/lib/game-data-packager-shared
+++ b/lib/game-data-packager-shared
@@ -274,13 +274,13 @@ slipstream_cleanup() {
 # TODO: configurable package installation method (not hardcoded dpkg)
 # TODO: if using sudo or pkexec, use multiple arguments rather than doing
 #       silly things with shell-quoting
-install_deb() {
+install_debs() {
 	echo "using su(1) to obtain root privileges and install the package(s)"
 	cmd="dpkg -i "
 	for deb in "$@"; do
 		cmd="$cmd \"$deb\""
 	done
-	su -c $cmd
+	su -c "$cmd"
 }
 
 ## install_deb(deb)

-- 
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