Remplace vlc par svlc dans le fichier vlc.desktop
authorgobo72 <gobo72@364a67c3-989e-7be9-548d-dae8560ea662>
Sat, 1 Oct 2011 22:52:45 +0000 (22:52 +0000)
committergobo72 <gobo72@364a67c3-989e-7be9-548d-dae8560ea662>
Sat, 1 Oct 2011 22:52:45 +0000 (22:52 +0000)
stage5/pkg/vlc

index febdc4a..eb6a836 100644 (file)
@@ -2,5 +2,7 @@
 
 hvbuild_post()
 {
 
 hvbuild_post()
 {
-    string_add "alias vlc='vlc --intf skins2'" /etc/bashrc
+    # Remplace vlc par svlc (équivalent de "vlc --intf skins2")
+    sudo sed -e "s!Exec=vlc %U!Exec=svlc %U!" \
+        -i /usr/share/applications/vlc.desktop
 }
 }