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

Jon Dowland jmtd at debian.org
Wed Feb 3 14:41:54 UTC 2010


The following commit has been merged in the rott branch:
commit 7bfa4a58ab69e14e05d469989031548a40a97738
Author: Jon Dowland <jmtd at debian.org>
Date:   Wed Feb 3 14:39:41 2010 +0000

    back out the su-to-root change

diff --git a/debian/control b/debian/control
index afb86ac..62a05c2 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, ${misc:Depends}, menu
+Depends: fakeroot, sudo, ${misc:Depends}
 Conflicts: doom-package
 Replaces: doom-package
 Provides: doom-package
diff --git a/lib/game-data-packager-shared b/lib/game-data-packager-shared
index f32ac22..d1b2f79 100644
--- a/lib/game-data-packager-shared
+++ b/lib/game-data-packager-shared
@@ -164,7 +164,7 @@ slipstream_cleanup() {
 
 install_deb() {
 	DEB="$1"
-	su-to-root -c "dpkg -i '$DEB'"
+	sudo dpkg -i "$DEB"
 }
 
 unravel() {

-- 
Installer for game data files



More information about the Pkg-games-commits mailing list