Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
portusctl: use the proper make_admin task
Browse files Browse the repository at this point in the history
bsc#976088

Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
  • Loading branch information
mssola committed Apr 19, 2016
1 parent 77c7b15 commit aa4997a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packaging/suse/portusctl/lib/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,10 @@ def setup
def make_admin(username)
if username.nil? || username.empty?
# This will print the list of usernames
Runner.bundler_exec("rake", "make_admin", {})
Runner.bundler_exec("rake", "portus:make_admin", {})
else
# Rake tasks look weird when they accept parameters
Runner.bundler_exec("rake", "make_admin[#{username}]", {})
Runner.bundler_exec("rake", "portus:make_admin[#{username}]", {})
end
end

Expand Down

0 comments on commit aa4997a

Please sign in to comment.