]>
cloud.milkyroute.net Git - dolphin.git/blob - src/settings/services/servicemenudeinstallation
4 if archive
[(archive
.length
- 8)..(archive
.length
)] == ".desktop"
5 FileUtils
.rm(`qtpaths --writable-path GenericDataLocation`.strip! +
"/kservices5/ServiceMenus/" + File
.basename(archive
))
17 break if dd
.count !
= 3
20 dir +
= "/" + entry
if entry !
= "." && entry !
= ".."
22 if !File
.directory
? dir
29 system("kdialog --passivepopup \"Deinstallation failed\" 15")
32 if !
((File
.exist
?(file
= "./deinstall.sh") || File
.exist
?(file
= "./deinstall")) && system(file
))
33 fail() if !File
.exist
?(file
= "./installKDE4.sh") && !File
.exist
?(file
= "./installKDE4") && !File
.exist
?(file
= "./install.sh") && !File
.exist
?(file
= "./install")
34 File
.new(file
).chmod(0700)
35 fail() if !
system(file +
" --remove") && !
system(file +
" --delete") && !
system(file +
" --uninstall") && !
system(file +
" --deinstall")