yast realted scripts were updated.
This commit is contained in:
		| @@ -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)); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user