Package: wine
Severity: normal

The move_to_fhs template and debconf question are now completely useless as
this transition happened 7 years ago.

It should be removed.

Patch attached

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru wine.old/debian/libwine.preinst wine.new/debian/libwine.preinst
--- wine.old/debian/libwine.preinst     2007-08-27 15:18:45.093770173 +0200
+++ wine.new/debian/libwine.preinst     2007-08-31 23:17:56.209582306 +0200
@@ -33,43 +33,4 @@
     rm -f /usr/lib/libwine_unicode.so
 fi
 
-# The following check is useless in current Wine versions because Wine
-# can't be configured system-wide anymore, but remains for completeness.
-
-if [ -d /usr/share/wine/drivec ] && ! [ -d /var/lib/wine/drivec ]; then
-    # yuck, the previous package is using the old location...
-    # we must relocate for FHS conformance
-
-    # first, warn the user
-    if [ -e /usr/share/debconf/confmodule ]; then
-        # give the message to the user the preferred way
-        . /usr/share/debconf/confmodule
-        db_input high wine/move_to_fhs || true
-        db_go || true
-    else
-        # debconf not available... use the old-fashioned method
-cat << EOT
-NOTE: Moving /usr/share/wine/drivec to /var/lib/wine/drivec
-The previous default Drive C location in /usr/share/wine violates
-the Filesystem Hierarchy Standard and is thus being relocated to
-/var/lib/wine. Your /etc/wine.conf should be updated automatically,
-but if you have a .winerc or have written scripts that depend on
-the old location, you must update these yourself.
-Press Enter to proceed.
-EOT
-       read dust_in_the_wind
-    fi
-
-    # perform the relocation
-    mkdir -p /var/lib/wine
-    mv /usr/share/wine/drivec /var/lib/wine/drivec
-    rmdir /usr/share/wine || true
-
-    # update wine.conf
-    if [ -e /etc/wine.conf ]; then
-        sed 's|/usr/share/wine/drivec|/var/lib/wine/drivec|g' /etc/wine.conf > 
/etc/wine.conf.new
-        mv /etc/wine.conf.new /etc/wine.conf
-    fi
-fi
-
 #DEBHELPER#
diff -Nru wine.old/debian/libwine.templates wine.new/debian/libwine.templates
--- wine.old/debian/libwine.templates   2007-08-27 15:18:45.093770173 +0200
+++ wine.new/debian/libwine.templates   1970-01-01 01:00:00.000000000 +0100
@@ -1,38 +0,0 @@
-Template: wine/move_to_fhs
-Type: note
-Description: Moving /usr/share/wine/drivec to /var/lib/wine/drivec
- The previous default Drive C location in /usr/share/wine violates the
- Filesystem Hierarchy Standard and is thus being relocated to
- /var/lib/wine. Your /etc/wine.conf should be updated automatically, but if
- you have a .winerc or have written scripts that depend on the old
- location, you must update these yourself.
-Description-ca.UTF-8: S'està movent /usr/share/wine/drivec a 
/var/lib/wine/drivec
- L'anterior ubicació predeterminada de la unitat «C» a /usr/share/wine viola 
la Jerarquia estàndard del sistema de fitxers (FHS), i és per això que es mourà 
a /var/lib/wine. El vostre /etc/wine.conf s'actualitzarà automàticament, però 
si teniu un .winerc o heu escrit scripts que depenguin de l'antiga ubicació, 
els haureu de posar al dia vosaltres mateixos.
-Description-cs.UTF-8: Přesunuji /usr/share/wine/drivec do /var/lib/wine/drivec
- Předchozí implicitní umístění disku C v /usr/share/wine porušuje Filesystem 
Hierarchy Standard a je tedy přesunuto do /var/lib/wine. Váš /etc/wine.conf se 
aktualizuje automaticky, ale pokud máte vlastní .winerc nebo pokud jste si 
napsali skripty, které závisí na staré cestě, budete je muset upravit sami.
-Description-da.UTF-8: Flytter /usr/share/wine/drivec til /var/lib/wine/drivec
- Den tidligere placering af C-drevet i /usr/share/wine bryder 
filsystemhierakistandarden (FHS), og den flyttes derfor til /var/lib/wine. Din 
/etc/wine.conf bliver opdateret automatisk, men hvis du har en .winerc eller 
selv har skrevet skripter, der afhænger af den gamle placering, skal du selv 
opdatere disse.
-Description-de.UTF-8: /usr/share/wine/drivec wurde nach /var/lib/win/drivec 
verschoben
- Die ehemalige Standard Pfad /usr/share/wine verletzt den Dateisystem 
Hierarchie Standard und wurde deshalb nach /var/lib/wine verlegt. Ihre 
/etc/wine.conf sollte automatisch aktualisiert werden, falls Ihre .winerc oder 
ein Skript den alten Pfad enthält müssen Sie diese selbst anpassen.
-Description-es.UTF-8: /usr/share/wine/drivec se ha cambiado a 
/var/lib/wine/drivec
- La antigua ubicación predeterminada de la Unidad C en /usr/share/wine 
contradecía el Estándar de la Jerarquía del Sistema de Ficheros (FHS), por lo 
que se ha cambiado a /var/lib/wine. Su /etc/wine.conf debería actualizarse 
automáticamente, pero si tiene algún fichero .winerc o scripts que dependan de 
la ubicación anterior, tendrá que modificarlos por su cuenta.
-Description-fr.UTF-8: Déplacement de /usr/share/wine/drivec vers 
/var/lib/wine/drivec
- Placer le pseudo-disque C dans /usr/share/wine violait la norme de hiérarchie 
du système de fichiers (FHS : « Filesystem Hierarchy Standard »). Il a donc été 
déplacé vers /var/lib/wine. Votre fichier /etc/wine.conf devrait être mis à 
jour automatiquement. Cependant, si vous avez des fichiers .winerc ou bien si 
vous avez écrit des scripts qui dépendent de l'ancien emplacement, vous devrez 
les mettre à jour vous-même.
-Description-gl.UTF-8: A trasladar /usr/share/wine/drivec a /var/lib/wine/drivec
- A ubicación antiga por defecto da unidade C en /usr/share/wine viola o 
estándar FHS, e, polo tanto, estase a trasladar a /var/lib/wine. Hase 
actualizar o seu ficheiro /etc/wine.conf automaticamente, pero se ten un 
ficheiro winerc ou escribiu scripts que dependen da ubicación antiga ten que os 
actualizar vostede mesmo.
-Description-it.UTF-8: Sposto /usr/share/wine/drivec in /var/lib/wine/drivec
- La precedente posizione di default del Drive C in /usr/share/wine viola il 
Filesystem Hierarchy Standard, quindi viene spostato in /var/lib/wine. Il tuo 
/etc/wine.conf dovrebbe essere aggiornato in automatico, ma se hai un .winerc o 
hai scritto degli script che dipendono dalla vecchia posizione, dovrai 
aggiornarli da solo.
-Description-ja.UTF-8: /usr/share/wine/drivec を /var/lib/wine/drivec に移動しています
- 以前のドライブ C のデフォルト位置 /usr/share/wine は、ファイルシステム階層標準に違反していたので、/var/lib/wine 
に再配置するようになっています。あなたの /etc/wine.conf は自動的に更新されるはずですが、もし .winerc 
や古い位置に依存して書かれたスクリプトがある場合には、それらをあなた自身で更新する必要があります。
-Description-nl.UTF-8: Verplaatsen van /usr/share/wine/drivec naar 
/var/lib/wine/drivec
- De vorige standaard Schijf-C-lokatie in /usr/share/wine schendt de Filesystem 
Hierarchy Standard en is dus verplaatst naar /var/lib/wine. Uw /etc/wine.conf 
zou automatisch moeten worden bijgewerkt, maar als u een .winerc heeft of u 
heeft scripts geschreven die afhankelijk zijn van de oude lokatie, dan moet u 
deze zelf bijwerken.
-Description-pt.UTF-8: A mover /usr/share/wine/drivec para /var/lib/wine/drivec
- A localização anterior, por omissão, da Drive C localizada em /usr/share/wine 
viola a Hierarquia Standard do sistema de Ficheiros (FHS), como tal será 
transferida para /var/lib/wine. O seu ficheiro /etc/wine.conf será actualizado 
automáticamente, no entanto se tiver um winerc ou tiver escrito 'scripts' que 
dependam do local antigo terá de os actualizar.
-Description-pt_BR.UTF-8: Movendo /usr/share/wine/drivec para 
/var/lib/wine/drivec
- A antiga localização padrão do Drive C em /usr/share/wine viola a Hierarquia 
Padrão de Sistema de Arquivos e está sendo, portanto, movido para 
/var/lib/wine. O seu /etc/wine.conf deve ser atualizado automaticamente, exceto 
se você tiver um arquivo .winerc ou tiver escrito scripts que dependam da 
localização antiga, tendo, nesse caso, que atualizá-los manualmente.
-Description-ru.UTF-8: Каталог /usr/share/wine/drivec перемещён в 
/var/lib/wine/drivec
- Предыдущее место по умолчанию для Диска C, /usr/share/wine, нарушает 
Filesystem Hierarchy Standard и поэтому перемещается в /var/lib/wine. Ваш 
/etc/wine.conf будет обновлён автоматически, но если у вас есть .winerc или 
написаны сценарии, которые зависят от старого места, то вы должны обновить путь 
самостоятельно.
-Description-sv.UTF-8: Flyttar /usr/share/wine/drivec till /var/lib/wine/drivec
- Den tidigare standard sökvägen till Drive C i /usr/share/wine inkräktar på 
Filesystem Hierachy Standard som är därför flyttad till /var/lib/wine. Din 
/etc/wine.conf borde uppdateras automatiskt men om du har en winerc eller har 
skrivna skript som använder den gamla sökvägen måste du uppdatera dessa på egen 
hand.
-Description-tr.UTF-8: /usr/share/wine/drivec, /var/lib/wine/drivec'ye 
taşınıyor.
- C sürücüsü için önceki öntanımlı konum olan /usr/share/wine Dosya Sistemi 
Düzeni standartlarını (FHS) ihlâl ediyor ve bu yüzden /var/lib/wine olarak 
değiştirilecek. /etc/wine.conf dosyası bu değişikliğe uygun şekilde otomatik 
olarak güncellenecektir, ancak eğer .winerc veya eski konuma göre yazılmış bir 
betik varsa bunları kendiniz güncellemelisiniz.
diff -Nru wine.old/debian/libwine.templates.master 
wine.new/debian/libwine.templates.master
--- wine.old/debian/libwine.templates.master    2007-08-27 15:18:45.093770173 
+0200
+++ wine.new/debian/libwine.templates.master    1970-01-01 01:00:00.000000000 
+0100
@@ -1,8 +0,0 @@
-Template: wine/move_to_fhs
-Type: note
-_Description: Moving /usr/share/wine/drivec to /var/lib/wine/drivec
- The previous default Drive C location in /usr/share/wine violates the
- Filesystem Hierarchy Standard and is thus being relocated to
- /var/lib/wine. Your /etc/wine.conf should be updated automatically, but if
- you have a .winerc or have written scripts that depend on the old
- location, you must update these yourself.
diff -Nru wine.old/debian/po/POTFILES.in wine.new/debian/po/POTFILES.in
--- wine.old/debian/po/POTFILES.in      2007-08-27 15:18:45.093770173 +0200
+++ wine.new/debian/po/POTFILES.in      2007-08-31 23:17:34.210719811 +0200
@@ -1,2 +1 @@
-[type: gettext/rfc822deb] libwine.templates.master
 [type: gettext/rfc822deb] wine.templates.master

Reply via email to