summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
cd743de)
Passing the --reset-timestamp option to sudo makes it ignore the cached
credentials and always ask for a password.
This is done to provide the user a second chance to think about what
they are doing, as the removal can be fairly destructive for
a development site.
-[ "$INPUT" = "$CONFIRMATION_STRING" ] && run sudo rm -rf config/ web/ vendor/ composer.lock
+[ "$INPUT" = "$CONFIRMATION_STRING" ] && run sudo --reset-timestamp rm -rf config/ web/ vendor/ composer.lock