[Pkg-owncloud-commits] [owncloud] 01/01: Clean up pre-5.0.8+dfsg-2 handling

David Prévot taffit at moszumanska.debian.org
Thu Dec 5 18:49:04 UTC 2013


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

taffit pushed a commit to branch master
in repository owncloud.

commit 804147665160dcf42b44e66779db087c1d7987a9
Author: David Prévot <taffit at debian.org>
Date:   Thu Dec 5 14:40:01 2013 -0400

    Clean up pre-5.0.8+dfsg-2 handling
    
    5.0.8+dfsg-2 was the first version from the stable5 branch uploaded to
    unstable. Since we only support upgrade from the stable5 branch, no need
    to keep the directory symlink and confile handling that were already
    handled back then.
---
 debian/maintscript |  1 -
 debian/postinst    | 20 --------------------
 2 files changed, 21 deletions(-)

diff --git a/debian/maintscript b/debian/maintscript
deleted file mode 100644
index 6387055..0000000
--- a/debian/maintscript
+++ /dev/null
@@ -1 +0,0 @@
-mv_conffile /etc/apache2/conf.d/owncloud.conf /etc/apache2/conf-available/owncloud.conf 5.0.7+dfsg-2~
diff --git a/debian/postinst b/debian/postinst
index 7bc007d..03b09e2 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -56,26 +56,6 @@ case "$1" in
 		chmod 0640 $file
 	fi
 	# Replace directory with symlink [ Can be removed before Jessie ]
-	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 ../../../../../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 ../../../../../javascript/pdf/locale $dir
-		fi
-	fi
-	subdir="/usr/share/owncloud/3rdparty/miniColors/"
-	for dir in ${subdir}css ${subdir}js; do
-		if [ -d $dir ] && [ ! -L $dir ]; then
-			if rmdir $dir 2>/dev/null; then
-				ln -sf ../../../javascript/jquery-minicolors $dir
-			fi
-		fi
-	done
 	subdir="/usr/share/owncloud/3rdparty/"
 	for dir in ${subdir}css/chosen ${subdir}js/chosen; do
 		if [ -d $dir ] && [ ! -L $dir ]; then

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



More information about the Pkg-owncloud-commits mailing list