summarylogtreecommitdiffstats
path: root/rmtrash.install
diff options
context:
space:
mode:
authorMaxim Baz2017-11-16 20:18:11 +0100
committerMaxim Baz2017-11-16 20:18:11 +0100
commit0d4cda97e338005b3999d7dd3e760af78559a250 (patch)
treef1886e94917536ff6a449b69ad1d7009870a3b91 /rmtrash.install
downloadaur-0d4cda97e338005b3999d7dd3e760af78559a250.tar.gz
Create package
Diffstat (limited to 'rmtrash.install')
-rw-r--r--rmtrash.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/rmtrash.install b/rmtrash.install
new file mode 100644
index 00000000000..1ae9ac27def
--- /dev/null
+++ b/rmtrash.install
@@ -0,0 +1,13 @@
+post_install() {
+ echo ">> It is very convenient to create the following aliases:"
+ echo ">> alias rm='rmtrash'"
+ echo ">> alias rmdir='rmdirtrash'"
+ echo ">> alias sudo='sudo '"
+}
+
+post_remove() {
+ echo ">> Make sure to delete the following aliases if you created them:"
+ echo ">> alias rm='rmtrash'"
+ echo ">> alias rmdir='rmdirtrash'"
+ echo ">> alias sudo='sudo '"
+}