[Lunar-commits] <moonbase> pm-utils: cleanup dangling symlinks on removal

Paul Bredbury brebs at lunar-linux.org
Sat Jan 15 14:32:40 CET 2011


commit 9c6c76fe12fad28d416ce26180a9c42024e40984
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Sat Jan 15 20:32:40 2011 +0700

    pm-utils: cleanup dangling symlinks on removal
---
 utils/pm-utils/POST_REMOVE |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/utils/pm-utils/POST_REMOVE b/utils/pm-utils/POST_REMOVE
new file mode 100644
index 0000000..e7282b5
--- /dev/null
+++ b/utils/pm-utils/POST_REMOVE
@@ -0,0 +1,2 @@
+# Remove dangling symlinks
+rm -f /usr/sbin/pm-{hibernate,suspend,suspend-hybrid}


More information about the Lunar-commits mailing list