File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
usr/lib/linuxmint/mintinstall Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -3303,8 +3303,11 @@ def on_installer_info_ready(self, task):
3303
3303
for desktop_file in [
3304
3304
# foo.desktop
3305
3305
"/usr/share/applications/%s.desktop" % bin_name ,
3306
- # foo in foo-bar.desktop
3306
+ # foo in foo-bar.desktop or foo_bar.desktop
3307
3307
"/usr/share/applications/%s.desktop" % bin_name .split ("-" )[0 ],
3308
+ "/usr/share/applications/%s.desktop" % bin_name .split ("_" )[0 ],
3309
+ # foo-bar package with foo_bar.desktop
3310
+ "/usr/share/applications/%s.desktop" % bin_name .replace ("-" , "_" ),
3308
3311
# foo in org.bar.Foo.desktop
3309
3312
"/usr/share/applications/%s.desktop" % bin_name .split ("." )[- 1 ],
3310
3313
"/usr/share/app-install/desktop/%s:%s.desktop" % (bin_name , bin_name )
You can’t perform that action at this time.
0 commit comments