summarylogtreecommitdiffstats
path: root/dashbinsh.hook
diff options
context:
space:
mode:
authorMatthew T Hoare2018-03-11 13:12:53 +0000
committerMatthew T Hoare2018-03-11 13:12:53 +0000
commitd4360752cc9615056d9c2b7f668b550e00203531 (patch)
treeca6da9bbf48fe7422d291136bb6e7105017795e2 /dashbinsh.hook
downloadaur-d4360752cc9615056d9c2b7f668b550e00203531.tar.gz
First commit.
Diffstat (limited to 'dashbinsh.hook')
-rw-r--r--dashbinsh.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/dashbinsh.hook b/dashbinsh.hook
new file mode 100644
index 000000000000..ed08b691bf55
--- /dev/null
+++ b/dashbinsh.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Type = Package
+Operation = Install
+Operation = Upgrade
+Target = bash
+
+[Action]
+Description = Re-pointing /bin/sh symlink to dash...
+When = PostTransaction
+Exec = /usr/bin/ln -sfT dash /usr/bin/sh
+Depends = dash