~eduardo-nacimiento/+junk/bardinux-proa

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Eduardo Nacimiento García
  • Date: 2019-02-04 16:23:24 UTC
  • Revision ID: micorreo@eduardonacimiento.com-20190204162324-r6so6g2g3ddzwt92
background proa

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
fi
51
51
ln -sf /etc/xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml.bardinux-xfce-proa.gcs /etc/xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
52
52
 
 
53
if [ "/usr/share/xfce4/backdrops/bardinux-bionic.png" != "$(dpkg-divert --truename /usr/share/xfce4/backdrops/bardinux-bionic.png)" ]; then
 
54
    mv /usr/share/xfce4/backdrops/bardinux-bionic.png /usr/share/xfce4/backdrops/bardinux-bionic.png.bardinux-xfce-proa.distrib
 
55
else
 
56
    dpkg-divert --package bardinux-xfce-proa --divert /usr/share/xfce4/backdrops/bardinux-bionic.png.bardinux-xfce-proa.distrib --rename --quiet --add /usr/share/xfce4/backdrops/bardinux-bionic.png
 
57
fi
 
58
ln -sf /usr/share/xfce4/backdrops/bardinux-bionic.png.bardinux-xfce-proa.gcs /usr/share/xfce4/backdrops/bardinux-bionic.png
 
59
 
53
60
if [ "/usr/share/xfce4/backdrops/bardinux-proa-bionic.png.bardinux5-proa.gcs" != "$(dpkg-divert --truename /usr/share/xfce4/backdrops/bardinux-proa-bionic.png.bardinux5-proa.gcs)" ]; then
54
61
    mv /usr/share/xfce4/backdrops/bardinux-proa-bionic.png.bardinux5-proa.gcs /usr/share/xfce4/backdrops/bardinux-proa-bionic.png.bardinux5-proa.gcs.bardinux-xfce-proa.distrib
55
62
else