summarylogtreecommitdiffstats
path: root/libtrash.install
diff options
context:
space:
mode:
Diffstat (limited to 'libtrash.install')
-rw-r--r--libtrash.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/libtrash.install b/libtrash.install
new file mode 100644
index 000000000000..9b1d1db9db78
--- /dev/null
+++ b/libtrash.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo ">> To enable libtrash at login:"
+ echo ">> chmod 755 /etc/profile.d/libtrash.sh"
+ echo ">> To enable libtrash at any moment:"
+ echo ">> . /etc/profile.d/libtrash.sh"
+ echo ">> To disable libtrash at any moment:"
+ echo ">> unset LD_PRELOAD"
+ echo ">> WARNING: fakeroot will not work while libtrash is enabled."
+ echo ">> Disable libtrash before using fakeroot!"
+}
+
+post_upgrade() {
+ post_install
+}
+