]>
cloud.milkyroute.net Git - dolphin.git/blob - src/khns/servicemenudeinstallation
3 topdir
= ARGV[0] +
"-dir"
15 system("kdialog --passivepopup \"Deinstallation failed\" 15")
18 if !
((File
.exist
?(file
= dir +
"/deinstall.sh") || File
.exist
?(file
= dir +
"/deinstall")) && system(file
))
19 fail() if !File
.exist
?(file
= dir +
"/installKDE4.sh") && !File
.exist
?(file
= dir +
"/installKDE4") && !File
.exist
?(file
= dir +
"/install.sh") && !File
.exist
?(file
= dir +
"/install")
20 File
.new(file
).chmod(0700)
21 fail() if !
system(file +
" --remove") && !
system(file +
" --delete") && !
system(file +
" --uninstall") && !
system(file +
" --deinstall")
23 FileUtils
.rm_r(topdir
)