Re: mythweb 0.25.1-dmo1 won't install

Page principale

Répondre à ce message
Auteur: Christian Marillat
Date:  
À: dmo-discussion
Sujet: Re: mythweb 0.25.1-dmo1 won't install
Mark Paulus <mark.paulus@???> writes:

> New patch:


[...]

> diff -ruN debian.old/mythweb.prerm debian/mythweb.prerm
> --- debian.old/mythweb.prerm    1969-12-31 19:00:00.000000000 -0500
> +++ debian/mythweb.prerm        2012-06-18 15:15:51.000000000 -0400


[...]

> +case "$1" in
> +    purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
> +       if [ -L /usr/share/mythtv/mythweb/data ]; then
> +           rm /usr/share/mythtv/mythweb/data


When we upgrade from previous version like 0.24,
/usr/share/mythtv/mythweb/data is *always* a directory with data
inside.

1) We don't want to lose these datas.

2) Creating a symlink will fail has we don't remove the data directory.

Christian