summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVlad Glagolev2015-01-30 10:20:31 +0300
committerVlad Glagolev2015-01-30 10:23:01 +0300
commitbd227bb59c6dd2939f921e03277af800eca6cf8f (patch)
treedb980ab3331a04f595723e7fdfd4b3cda285702c
parent0a469dba9e8fefdb4062c3d05337be9473de7c47 (diff)
readline: resurrect-compliance++
(cherry picked from commit ceeb6aaa052b87fdbfc66d9ca759befb071cbea9)
-rwxr-xr-xlibs/readline/FINAL1
-rw-r--r--libs/readline/HISTORY6
-rwxr-xr-xlibs/readline/INSTALL3
-rwxr-xr-xlibs/readline/POST_RESURRECT1
4 files changed, 9 insertions, 2 deletions
diff --git a/libs/readline/FINAL b/libs/readline/FINAL
new file mode 100755
index 0000000000..32d09d8b71
--- /dev/null
+++ b/libs/readline/FINAL
@@ -0,0 +1 @@
+ldconfig
diff --git a/libs/readline/HISTORY b/libs/readline/HISTORY
index 5d03a1f04f..314819eb13 100644
--- a/libs/readline/HISTORY
+++ b/libs/readline/HISTORY
@@ -1,3 +1,9 @@
+2015-01-30 Vlad Glagolev <stealth@sourcemage.org>
+ * FINAL: added, INSTALL is not the right place for ldconfig, move it
+ here
+ * POST_RESURRECT: added, duplicate FINAL instructions for installing
+ via resurrect
+
2014-05-16 Treeve Jelbert <treeve@sourcemage.org>
* INSTALL: add ldconfig, otherwise next spell fails
diff --git a/libs/readline/INSTALL b/libs/readline/INSTALL
index 6a9aca9ef4..a3aaf2b0f1 100755
--- a/libs/readline/INSTALL
+++ b/libs/readline/INSTALL
@@ -10,5 +10,4 @@ if [[ "$INSTALL_INPUTRC" == y ]]; then
mkdir -p "$INSTALL_ROOT/etc/profile.d" &&
install -vm 755 "$SPELL_DIRECTORY/etc/profile.d/readline.sh" \
"$INSTALL_ROOT/etc/profile.d"
-fi &&
-ldconfig
+fi
diff --git a/libs/readline/POST_RESURRECT b/libs/readline/POST_RESURRECT
new file mode 100755
index 0000000000..32d09d8b71
--- /dev/null
+++ b/libs/readline/POST_RESURRECT
@@ -0,0 +1 @@
+ldconfig