[Pkg-javascript-commits] [pdf.js] 200/207: Drop now useless postinst

David Prévot taffit at moszumanska.debian.org
Mon Jul 28 15:36:49 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit 943b13bf457d7867c704292efd4b04a94b710058
Author: David Prévot <taffit at debian.org>
Date:   Sun Jul 27 13:58:25 2014 -0400

    Drop now useless postinst
---
 debian/postinst | 23 -----------------------
 1 file changed, 23 deletions(-)

diff --git a/debian/postinst b/debian/postinst
deleted file mode 100755
index 00e2ec7..0000000
--- a/debian/postinst
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-set -e
-
-#DEBHELPER#
-
-# Replace directory with symlink [ Can be removed before Jessie ]
-subdir="/usr/share/javascript/pdf/"
-for i in locale images; do
-	if [ -d ${subdir}$i ] && [ ! -L ${subdir}$i ]; then
-		if rmdir ${subdir}$i 2>/dev/null; then
-			ln -sf web/$i ${subdir}$i
-		fi
-	fi
-done
-subdir="/usr/share/javascript/pdf/web/"
-for i in cmaps images locale; do
-	if [ -d ${subdir}$i ] && [ ! -L ${subdir}$i ]; then
-		if rmdir ${subdir}$i 2>/dev/null; then
-			ln -sf ../../../pdf.js/$i ${subdir}$i
-		fi
-	fi
-done

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list