capistrano_auto_multi_install 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
|