summaryrefslogtreecommitdiff
path: root/package-scripts/asdf
diff options
context:
space:
mode:
Diffstat (limited to 'package-scripts/asdf')
-rwxr-xr-xpackage-scripts/asdf/postinst17
-rwxr-xr-xpackage-scripts/asdf/postrm9
-rwxr-xr-xpackage-scripts/asdf/preinst7
-rwxr-xr-xpackage-scripts/asdf/prerm15
4 files changed, 48 insertions, 0 deletions
diff --git a/package-scripts/asdf/postinst b/package-scripts/asdf/postinst
new file mode 100755
index 0000000..39d84e8
--- /dev/null
+++ b/package-scripts/asdf/postinst
@@ -0,0 +1,17 @@
+#!/bin/sh
+#
+# Perform necessary asdf setup steps
+# after package is installed.
+#
+
+PROGNAME=`basename $0`
+
+error_exit()
+{
+ echo "${PROGNAME}: ${1:-"Unknown Error"}" 1>&2
+ exit 1
+}
+
+echo "Thank you for installing asdf!"
+
+exit 0
diff --git a/package-scripts/asdf/postrm b/package-scripts/asdf/postrm
new file mode 100755
index 0000000..560c896
--- /dev/null
+++ b/package-scripts/asdf/postrm
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+# Perform necessary asdf removal steps
+# after package is uninstalled.
+#
+
+echo "asdf has been uninstalled!"
+
+exit 0
diff --git a/package-scripts/asdf/preinst b/package-scripts/asdf/preinst
new file mode 100755
index 0000000..89d3cf0
--- /dev/null
+++ b/package-scripts/asdf/preinst
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+# Perform necessary asdf setup steps
+# before package is installed.
+#
+
+echo "You're about to install asdf!"
diff --git a/package-scripts/asdf/prerm b/package-scripts/asdf/prerm
new file mode 100755
index 0000000..46749a1
--- /dev/null
+++ b/package-scripts/asdf/prerm
@@ -0,0 +1,15 @@
+#!/bin/sh
+#
+# Perform necessary asdf setup steps
+# prior to installing package.
+#
+
+PROGNAME=`basename $0`
+
+error_exit()
+{
+ echo "${PROGNAME}: ${1:-"Unknown Error"}" 1>&2
+ exit 1
+}
+
+exit 0