The following commit has been merged in the rott branch:
commit 93d464b3aeca383d70109855a52e4e3ab5d0bbe6
Author: Jon Dowland <[email protected]>
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

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to