summarylogtreecommitdiffstats
path: root/bash-docs.install
diff options
context:
space:
mode:
Diffstat (limited to 'bash-docs.install')
-rw-r--r--bash-docs.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/bash-docs.install b/bash-docs.install
new file mode 100644
index 00000000000..226fe40ce57
--- /dev/null
+++ b/bash-docs.install
@@ -0,0 +1,11 @@
+post_install() {
+ ln -s /usr/share/doc/bash/copyright.html /usr/share/licenses/bash-docs/copyright.html
+}
+
+post_update() {
+ post_install
+}
+
+pre_remove() {
+ rm /usr/share/licenses/bash-docs/copyright.html
+}