aboutsummaryrefslogtreecommitdiffstats
path: root/packages/cortexa15t2hf-neon-poky-linux-gnueabi/openssh/openssh-doc/latest.pkg_postinst
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cortexa15t2hf-neon-poky-linux-gnueabi/openssh/openssh-doc/latest.pkg_postinst')
-rw-r--r--packages/cortexa15t2hf-neon-poky-linux-gnueabi/openssh/openssh-doc/latest.pkg_postinst12
1 files changed, 2 insertions, 10 deletions
diff --git a/packages/cortexa15t2hf-neon-poky-linux-gnueabi/openssh/openssh-doc/latest.pkg_postinst b/packages/cortexa15t2hf-neon-poky-linux-gnueabi/openssh/openssh-doc/latest.pkg_postinst
index c496598c4f5c..449f0a4305cd 100644
--- a/packages/cortexa15t2hf-neon-poky-linux-gnueabi/openssh/openssh-doc/latest.pkg_postinst
+++ b/packages/cortexa15t2hf-neon-poky-linux-gnueabi/openssh/openssh-doc/latest.pkg_postinst
@@ -1,17 +1,9 @@
+set -e
# only update manual page index caches when manual files are built and installed
if false; then
if test -n "$D"; then
if true; then
- sed "s:\(\s\)/:\1$D/:g" $D/etc/man_db.conf | PSEUDO_UNLOAD=1 qemu-arm -r 3.2.0 -L $D -E LD_LIBRARY_PATH=$D/usr/lib:$D/lib $D/usr/bin/mandb -C - -u -q $D/usr/share/man
- chown -R root:root $D/usr/share/man
- mkdir -p $D/var/cache/man
- cd $D/usr/share/man
- find . -name index.db | while read index; do
- mkdir -p $D/var/cache/man/$(dirname ${index})
- mv ${index} $D/var/cache/man/${index}
- chown man:man $D/var/cache/man/${index}
- done
- cd -
+ $INTERCEPT_DIR/postinst_intercept update_mandb openssh-doc mlprefix= binprefix= bindir=/usr/bin sysconfdir=/etc mandir=/usr/share/man
else
$INTERCEPT_DIR/postinst_intercept delay_to_first_boot openssh-doc mlprefix=
fi