summaryrefslogtreecommitdiffstats
path: root/sys-apps/hal/files/hal-unmount.dev
diff options
context:
space:
mode:
authorChris <xchrisx@uber.space>2019-12-31 17:21:13 +0100
committerChris <xchrisx@uber.space>2019-12-31 17:21:13 +0100
commit55d2aaa4eb5201ac97e269fc141e4ee1778379b8 (patch)
tree810ece5e004aa9e97e26a1ad988ed52552175fb6 /sys-apps/hal/files/hal-unmount.dev
parent644110a847c5911c2eb04eb53c93031740561efc (diff)
downloadtde-packaging-gentoo-55d2aaa4eb5201ac97e269fc141e4ee1778379b8.tar.gz
tde-packaging-gentoo-55d2aaa4eb5201ac97e269fc141e4ee1778379b8.zip
Clean up and fix TDE Gentoo overlay.
- Remove old v3.5.13 ebuilds and eclasses - Change repo URL to official TGW - Remove old HAL and traces (TDEHW is used now) - Make split between TDE applications and tdebase consistent - Move TQt into own category (for users filtering dev-qt/ out) - Change to new TQTDIR var - Move away from virtual/pam dependency - Change to use new xorg-proto dependency - Some cosmetic fixes and removal of unneeded files - Remove some now obsolete patches - Change to clean 9999 naming scheme for anything - Add some potential workaround for newer portage versions - Add own README ... thanks to Aggi from IRC for some fixes too. Signed-off-by: Chris <xchrisx@uber.space>
Diffstat (limited to 'sys-apps/hal/files/hal-unmount.dev')
-rw-r--r--sys-apps/hal/files/hal-unmount.dev17
1 files changed, 0 insertions, 17 deletions
diff --git a/sys-apps/hal/files/hal-unmount.dev b/sys-apps/hal/files/hal-unmount.dev
deleted file mode 100644
index 04d1fa81..00000000
--- a/sys-apps/hal/files/hal-unmount.dev
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-# sanity check. DEVNAME should start with a /
-[ "$DEVNAME" != "${DEVNAME#/}" ] || exit 0
-
-# Lazily unmount drives which are removed, but still mounted
-if [ "$ACTION" = remove ] \
- && (grep -q "^$DEVNAME" /proc/mounts || grep -q "^$DEVNAME" /etc/mtab); then
- if [ -x /usr/bin/pumount ] ; then
- /usr/bin/pumount -l "$DEVNAME";
- else
- /bin/umount -l "$DEVNAME";
- fi
-fi
-
-exit 0
-