do not allow running equo conf as user
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1006 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
TODO list:
|
||||
- cache world calculation results
|
||||
- GUI
|
||||
- Community repositories
|
||||
- find a way to better handle real smartapps deps (need split PDEPEND?)
|
||||
- add deptest check for every reagent run
|
||||
- separate packages by license restrictions (find a way?)
|
||||
- server side code rewrite ala EquoInterface?
|
||||
|
||||
Spritz:
|
||||
- wrap root password request
|
||||
|
||||
Project Status:
|
||||
- reagent: complete.
|
||||
- activator: complete.
|
||||
|
||||
@@ -45,6 +45,11 @@ def configurator(options):
|
||||
if len(options) < 1:
|
||||
return -10
|
||||
|
||||
# check if I am root
|
||||
if (not Equo.entropyTools.isRoot()):
|
||||
print_error(red("You are not ")+bold("root")+red("."))
|
||||
return 1
|
||||
|
||||
if options[0] == "info":
|
||||
rc = confinfo()
|
||||
elif options[0] == "update":
|
||||
|
||||
Reference in New Issue
Block a user