From 551b155271726b8dcb2462108b2b975e7c107322 Mon Sep 17 00:00:00 2001 From: "Cameron (Kamran) Mashayekhi" Date: Thu, 4 May 2006 21:49:54 +0000 Subject: [PATCH] yast realted scripts were updated. --- casa-yast/src/complex.ycp | 8 ++++++++ 1 file changed, 8 insertions(+) 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));