Skip to content
Snippets Groups Projects
Commit d9aa007d authored by schiermi's avatar schiermi
Browse files

Provide generic names for shortcuts - test2.

parent 1999baea
Branches
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ class desktop {
exec { 'fix-desktop-leafpad':
command => 'sed -i "/^Name/ s/=.*/=Notes/;" /etc/skel/Desktop/leafpad.desktop',
onlyif => 'egrep -vq "Name.*=Notes"',
onlyif => '/bin/grep -vq "^Name.*=Notes" /etc/skel/Desktop/leafpad.desktop',
}
file { '/etc/skel/Desktop/galculator.desktop':
......@@ -52,6 +52,11 @@ class desktop {
],
}
exec { 'fix-desktop-galculator':
command => 'sed -i "/^Name/ s/=.*/=Calculator/;" /etc/skel/Desktop/galculator.desktop',
onlyif => '/bin/grep -vq "^Name.*=Calculator" /etc/skel/Desktop/galculator.desktop',
}
file { '/etc/skel/Desktop/chromium-l10n.desktop':
source => '/usr/share/applications/chromium.desktop',
require => [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment