Install sound-juicer only if CDROM is present
authorgobo72 <gobo72@364a67c3-989e-7be9-548d-dae8560ea662>
Fri, 17 Sep 2010 23:03:32 +0000 (23:03 +0000)
committergobo72 <gobo72@364a67c3-989e-7be9-548d-dae8560ea662>
Fri, 17 Sep 2010 23:03:32 +0000 (23:03 +0000)
ubuntu/ubuntu-cfg.sh

index 35b9f04..d780e1c 100755 (executable)
@@ -54,7 +54,7 @@ if dpkg --list | grep "totem-common" 1> /dev/null 2>&1; then
 fi
 
 if dpkg --list | grep "gwibber" 1> /dev/null 2>&1; then
-    ${APT} remove --purge gwibber
+    ${APT} remove --purge gwibber gwibber-service
 fi
 
 # Configuration SSH
@@ -150,7 +150,9 @@ if ! sudo apt-key list | grep "rob@welcomehome.org" 1> /dev/null 2>&1; then
 fi
 ${AGI} mozilla-plugin-gnash
 ${AGI} vlc vlc-plugin-jack mozilla-plugin-vlc
-${AGI} sound-juicer
+if [ -h /media/cdrom ]; then # Don't install on machines without CD/DVD-ROM 
+    ${AGI} sound-juicer
+fi
 
 # Musique
 ${AGI} vorbis-tools