Package: flashplugin-nonfree
Severity: grave
Tags: patch

This package creates a directory (flashplugin-nonfree-unpackdir) for 
downloading, storing and unpacking the tarball 
from upstream during postinst. This directory shoudn't be located in /usr/lib 
as it isn't the final destination of 
the plugin files. This breaks FHS.

The included fix moves this directory to /var/cache.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

diff -Nru flashplugin-nonfree-9.0.31.0.1/debian/dirs flashplugin-nonfree-9.0.31.0.1.new/debian/dirs
--- flashplugin-nonfree-9.0.31.0.1/debian/dirs	2006-12-11 02:09:07.000000000 -0500
+++ flashplugin-nonfree-9.0.31.0.1.new/debian/dirs	2007-02-18 14:34:23.000000000 -0500
@@ -1,4 +1,4 @@
-usr/lib/flashplugin-nonfree-unpackdir
+var/cache/flashplugin-nonfree-unpackdir
 usr/lib/flashplugin-nonfree
 usr/lib/mozilla/plugins
 usr/lib/mozilla-firefox/plugins
diff -Nru flashplugin-nonfree-9.0.31.0.1/debian/postinst flashplugin-nonfree-9.0.31.0.1.new/debian/postinst
--- flashplugin-nonfree-9.0.31.0.1/debian/postinst	2007-01-17 14:27:51.000000000 -0500
+++ flashplugin-nonfree-9.0.31.0.1.new/debian/postinst	2007-02-18 14:34:38.000000000 -0500
@@ -33,7 +33,7 @@
 
 fp_download_and_unpack() {
 
-	cd /usr/lib/flashplugin-nonfree-unpackdir
+	cd /var/cache/flashplugin-nonfree-unpackdir
 
 	db_get flashplugin-nonfree/local
 	if [ -d "$RET" -a -f "$RET"/install_flash_player_9_linux.tar.gz ]; then

Reply via email to