[SCM] Installer for game data files branch, rott, updated. ff0d8a6a96d4020895537ab7837f68762e7c826f

Jon Dowland jmtd at debian.org
Sat Jan 30 21:43:33 UTC 2010


The following commit has been merged in the rott branch:
commit 93d464b3aeca383d70109855a52e4e3ab5d0bbe6
Author: Jon Dowland <jmtd at debian.org>
Date:   Sat Jan 30 21:22:08 2010 +0000

    use su-to-root instead of sudo

diff --git a/debian/control b/debian/control
index b93dffe..dbef7ee 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,7 @@ Vcs-Git: git://git.debian.org/git/pkg-games/game-data-packager
 Vcs-Browser: http://git.debian.org/?p=pkg-games/game-data-packager.git
 
 Package: game-data-packager
-Depends: fakeroot, sudo, unzip
+Depends: fakeroot, sudo, unzip, menu
 Conflicts: doom-package
 Replaces: doom-package
 Provides: doom-package
diff --git a/lib/game-data-packager-shared b/lib/game-data-packager-shared
index d1b2f79..f32ac22 100644
--- a/lib/game-data-packager-shared
+++ b/lib/game-data-packager-shared
@@ -164,7 +164,7 @@ slipstream_cleanup() {
 
 install_deb() {
 	DEB="$1"
-	sudo dpkg -i "$DEB"
+	su-to-root -c "dpkg -i '$DEB'"
 }
 
 unravel() {

-- 
Installer for game data files



More information about the Pkg-games-commits mailing list