capistrano_auto_multi_install 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -15,6 +15,7 @@ class CapistranoAutoMultiInstall::Handlers
|
|
15
15
|
end
|
16
16
|
|
17
17
|
def run_with_power command, as_user=nil
|
18
|
+
log "Running command with power"
|
18
19
|
if fetch(:use_sudo)
|
19
20
|
log "Running a command with sudo"
|
20
21
|
if as_user
|
@@ -26,7 +27,7 @@ class CapistranoAutoMultiInstall::Handlers
|
|
26
27
|
# log "Running a command with su"
|
27
28
|
# command = "su -c '#{command}'"
|
28
29
|
else
|
29
|
-
log "
|
30
|
+
log "Sudo not allowed, then trying to proceed as a normal user"
|
30
31
|
run command
|
31
32
|
end
|
32
33
|
end
|