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:
(no author)
2008-01-05 15:55:43 +00:00
parent 0f30dc9101
commit 46ba3cb2c0
2 changed files with 8 additions and 1 deletions
+3 -1
View File
@@ -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.
+5
View File
@@ -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":