Permalink
Browse files

xbmc-live conditional dependencies

  • Loading branch information...
1 parent 7ee48c0 commit cb44b477d4f226a8f28a07f58f5615689fe77479 @lcapriotti lcapriotti committed Nov 2, 2011
Showing with 8 additions and 1 deletion.
  1. +8 −1 debian/var_info
View
@@ -122,13 +122,20 @@ case "$1" in
adduser,
sudo,
whois,
- uxlaunch,
\${misc:Depends},
\${shlibs:Depends},"
if [ $(lsb_release -cs) = "lucid" ]; then
XBMC_LIVE_DEPENDS="$XBMC_LIVE_DEPENDS
mkpasswd,"
fi
+ if [ $(lsb_release -cs) = "natty" ]; then
+ XBMC_LIVE_DEPENDS="$XBMC_LIVE_DEPENDS
+ uxlaunch,"
+ fi
+ if [ $(lsb_release -cs) = "oneiric" ]; then
+ XBMC_LIVE_DEPENDS="$XBMC_LIVE_DEPENDS
+ lightdm,"
+ fi
printf "$XBMC_LIVE_DEPENDS"
;;

0 comments on commit cb44b47

Please sign in to comment.