Provide generic names for shortcuts - test3.
authorAndreas Schiermeier <andreas@schiermeier.name>
Tue, 10 May 2016 00:06:11 +0000 (02:06 +0200)
committerAndreas Schiermeier <andreas@schiermeier.name>
Tue, 10 May 2016 00:06:11 +0000 (02:06 +0200)
modules/desktop/manifests/init.pp

index 46ee609..9d8e34c 100644 (file)
@@ -39,7 +39,7 @@ class desktop {
        }
 
        exec { 'fix-desktop-leafpad':
-               command => 'sed -i "/^Name/ s/=.*/=Notes/;" /etc/skel/Desktop/leafpad.desktop',
+               command => '/bin/sed -i "/^Name/ s/=.*/=Notes/;" /etc/skel/Desktop/leafpad.desktop',
                onlyif => '/bin/grep -vq "^Name.*=Notes" /etc/skel/Desktop/leafpad.desktop',
        }
 
@@ -53,7 +53,7 @@ class desktop {
        }
 
        exec { 'fix-desktop-galculator':
-               command => 'sed -i "/^Name/ s/=.*/=Calculator/;" /etc/skel/Desktop/galculator.desktop',
+               command => '/bin/sed -i "/^Name/ s/=.*/=Calculator/;" /etc/skel/Desktop/galculator.desktop',
                onlyif => '/bin/grep -vq "^Name.*=Calculator" /etc/skel/Desktop/galculator.desktop',
        }