[Pkg-owncloud-commits] [SCM] owncloud.git branch, master, updated. debian/5.0.5_rc1+dfsg-1-13-g4bf08ce

David Prévot taffit at debian.org
Tue May 7 02:42:58 UTC 2013


The following commit has been merged in the master branch:
commit 6107570cf1b7191fb15bc8453254794d792581c2
Author: David Prévot <taffit at debian.org>
Date:   Mon May 6 22:01:16 2013 -0400

    Make symlinks relative

diff --git a/debian/postinst b/debian/postinst
index 3ff8ed1..989be0d 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -54,13 +54,13 @@ case "$1" in
 	dir="/usr/share/owncloud/apps/files_pdfviewer/3rdparty/pdfjs/images"
 	if [ -d $dir ] && [ ! -L $dir ]; then
 		if rmdir $dir 2>/dev/null; then
-			ln -sf /usr/share/javascript/pdf/images $dir
+			ln -sf ../../../../../javascript/pdf/images $dir
 		fi
 	fi
 	dir="/usr/share/owncloud/apps/files_pdfviewer/3rdparty/pdfjs/locale"
 	if [ -d $dir ] && [ ! -L $dir ]; then
 		if rmdir $dir 2>/dev/null; then
-			ln -sf /usr/share/javascript/pdf/locale $dir
+			ln -sf ../../../../../javascript/pdf/locale $dir
 		fi
 	fi
     ;;

-- 
owncloud.git



More information about the Pkg-owncloud-commits mailing list