yast realted scripts were updated.

This commit is contained in:
Cameron (Kamran) Mashayekhi 2006-05-04 21:49:54 +00:00
parent eaff53bce5
commit 551b155271

View File

@ -155,6 +155,10 @@ any SummaryDialog() {
{ {
Popup::Error(sformat("YaST was unable to find the installcasa script.")); Popup::Error(sformat("YaST was unable to find the installcasa script."));
} }
else if(iInstall_CASAReturn == 126)
{
Popup::Error(sformat("YaST requires root privleges to run the installcasa script."));
}
else else
{ {
Popup::Error(sformat("The install_casa script returned an unknown error: %1",iInstall_CASAReturn)); Popup::Error(sformat("The install_casa script returned an unknown error: %1",iInstall_CASAReturn));
@ -174,6 +178,10 @@ any SummaryDialog() {
{ {
Popup::Error(sformat("YaST was unable to find the uninstallcasa script.")); Popup::Error(sformat("YaST was unable to find the uninstallcasa script."));
} }
else if(iUninstall_CASAReturn == 126)
{
Popup::Error(sformat("YaST requires root privleges to run the uninstallcasa script."));
}
else else
{ {
Popup::Error(sformat("The uninstall_casa script returned an unknown error: %1",iUninstall_CASAReturn)); Popup::Error(sformat("The uninstall_casa script returned an unknown error: %1",iUninstall_CASAReturn));