aboutsummaryrefslogtreecommitdiffstats
path: root/testing/entrykit/entrykit.post-deinstall
diff options
context:
space:
mode:
authorRandall Leeds <randall@bleeds.info>2016-04-29 16:31:26 -0700
committerNatanael Copa <ncopa@alpinelinux.org>2016-05-02 17:30:27 +0000
commit4bf97c41ecf5391ad046883164979e2ff7fee447 (patch)
tree3d09725d8fcc7f45922ef9a53c54c26f41eec1e8 /testing/entrykit/entrykit.post-deinstall
parent6ca1c411b328719764275a31de15b4b3453d3719 (diff)
downloadaports-4bf97c41ecf5391ad046883164979e2ff7fee447.tar.bz2
aports-4bf97c41ecf5391ad046883164979e2ff7fee447.tar.xz
testing/entrykit: new aport
https://github.com/progrium/entrykit Entrypoint tools for elegant, programmable containers
Diffstat (limited to 'testing/entrykit/entrykit.post-deinstall')
-rw-r--r--testing/entrykit/entrykit.post-deinstall8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/entrykit/entrykit.post-deinstall b/testing/entrykit/entrykit.post-deinstall
new file mode 100644
index 0000000000..24c8946142
--- /dev/null
+++ b/testing/entrykit/entrykit.post-deinstall
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+for link in /usr/bin/*; do
+ if [ -L "$link" ] && [ "$(readlink $link)" = "/usr/bin/entrykit" ]; then
+ echo "removing $link"
+ rm "$link"
+ fi
+done