diff --git a/casa-yast/src/complex.ycp b/casa-yast/src/complex.ycp index 1e78d225..5555f8b2 100644 --- a/casa-yast/src/complex.ycp +++ b/casa-yast/src/complex.ycp @@ -155,6 +155,10 @@ any SummaryDialog() { { 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 { 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.")); } + else if(iUninstall_CASAReturn == 126) + { + Popup::Error(sformat("YaST requires root privleges to run the uninstallcasa script.")); + } else { Popup::Error(sformat("The uninstall_casa script returned an unknown error: %1",iUninstall_CASAReturn));