[Bug 28885] changes other packages' conffiles in maintainer scripts

Tollef Fog Heen tfheen at canonical.com
Wed Jan 18 13:21:30 UTC 2006


Public bug reported:
https://launchpad.net/malone/bugs/28885

Affects: ubuntu-artwork (Ubuntu)
       Severity: Normal
       Priority: (none set)
         Status: Unconfirmed

Description:
>From edubuntu-artwork.postinst:

  # switch gdm theme to Edubuntu
  if grep -q '^GraphicalTheme=Human\W*' /etc/gdm/gdm.conf; then
      sed -i -e 's/GraphicalTheme=Human/GraphicalTheme=Edubuntu/' /etc/gdm/gdm.c
onf
      echo "Installing and enabling GDM theme ..."
          if [ -n "$DISPLAY" ]; then
            gdmflexiserver --command="UPDATE_CONFIG greeter/GraphicalTheme"
          fi
  else
      echo "GDM theme customized, not touching gdm.conf ..."
  fi

Please do not ever, ever, ever change conffiles, especially other
packages' conffiles from maintainer scripts.




More information about the desktop-bugs mailing list