Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /tools/Linux/packaging/debian/var_info [4ef6ab] .. [e79b21] Maximize Restore

Repo status: analyzing...

  Switch to side-by-side view

--- a/tools/Linux/packaging/debian/var_info
+++ b/tools/Linux/packaging/debian/var_info
@@ -35,7 +35,6 @@
         ;;
     XBMC_LIVE_DEPENDS)
         XBMC_LIVE_DEPENDS="xbmc-standalone (= \${binary:Version}),
-         policykit,
          openssh-server,
          \${python:Depends},
          python-apt,
@@ -53,6 +52,14 @@
             XBMC_LIVE_DEPENDS="$XBMC_LIVE_DEPENDS
          mkpasswd,"
         fi
+        if [ $(lsb_release -cs) = "maverick" ]; then
+            XBMC_LIVE_DEPENDS="$XBMC_LIVE_DEPENDS
+         policykit-1,"
+        else
+            XBMC_LIVE_DEPENDS="$XBMC_LIVE_DEPENDS
+         policykit,"
+        fi
+
         printf "$XBMC_LIVE_DEPENDS"
         ;;
     LIBVDPAU_DEPENDS)