Projet

Général

Profil

0001-debian-postinst-do-not-modify-wcs-theme-if-its-alrea.patch

Thomas Noël, 07 novembre 2018 10:57

Télécharger (918 octets)

Voir les différences:

Subject: [PATCH] debian/postinst: do not modify wcs theme if its already a
 symlink (#27805)

 debian/publik-base-theme.postinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
debian/publik-base-theme.postinst
4 4

  
5 5
case "$1" in
6 6
  configure)
7
    test -d /usr/share/wcs/themes/publik-base && \
7
    test -L /usr/share/wcs/themes/publik-base || test -d /usr/share/wcs/themes/publik-base && \
8 8
      mv /usr/share/wcs/themes/publik-base /usr/share/wcs/themes/publik-base.old && \
9 9
      ln -s ../../publik/themes/publik-base /usr/share/wcs/themes/publik-base
10 10
  ;;
11
-