]>
cloud.milkyroute.net Git - dolphin.git/blob - src/settings/services/servicemenudeinstallation
4 if archive
[(archive
.length
- 8)..(archive
.length
)] == ".desktop"
5 FileUtils
.rm(`kde4-config --localprefix`.strip! +
"share/kde4/services/ServiceMenus/" + File
.basename(archive
))
22 system("kdialog --passivepopup \"Deinstallation failed\" 15")
25 if !
((File
.exist
?(file
= "./deinstall.sh") || File
.exist
?(file
= "./deinstall")) && system(file
))
26 fail() if !File
.exist
?(file
= "./installKDE4.sh") && !File
.exist
?(file
= "./installKDE4") && !File
.exist
?(file
= "./install.sh") && !File
.exist
?(file
= "./install")
27 File
.new(file
).chmod(0700)
28 fail() if !
system(file +
" --remove") && !
system(file +
" --delete") && !
system(file +
" --uninstall") && !
system(file +
" --deinstall")