summarylogtreecommitdiffstats
path: root/drush-git.install
diff options
context:
space:
mode:
Diffstat (limited to 'drush-git.install')
-rw-r--r--drush-git.install10
1 files changed, 1 insertions, 9 deletions
diff --git a/drush-git.install b/drush-git.install
index 9de9447e1608..0ea45388ec33 100644
--- a/drush-git.install
+++ b/drush-git.install
@@ -3,13 +3,5 @@ post_install() {
}
post_upgrade() {
- echo '>>> Setting up shared system-wide drush configuration'
- echo ' by symlinking ~/.drush to /etc/drush for all users.'
- for user in $(cut --fields=1,6 --delimiter=: /etc/passwd | grep :/home); do
- user=($(echo $user | tr ':' ' '))
- path="${user[1]}/.drush"
- user="${user[0]}"
- [ -h "$path" -a "$(realpath "$path")" = /etc/drush ] ||
- sudo -Hu $user ln --backup --force --symbolic /etc/drush "$path"
- done
+ drush cache-clear drush
}