rendered paste body+ . /usr/share/debconf/confmodule
++ '[' '!' 1 ']'
++ '[' -z '' ']'
++ exec
++ '[' '' ']'
++ exec
++ DEBCONF_REDIR=1
++ export DEBCONF_REDIR
+ THIS_PACKAGE=xserver-xorg
+ THIS_SCRIPT=postinst
+ SOURCE_VERSION=1:7.0.22
+ OFFICIAL_BUILD=
+ SHELL_LIB_INTERNAL_ERROR=86
+ SHELL_LIB_THROWN_ERROR=74
+ SHELL_LIB_USAGE_ERROR=99
+ '[' -z '' ']'
+ '[' -n '' ']'
+ '[' -z '' ']'
+ '[' -n '' ']'
+ '[' -z xserver-xorg ']'
+ '[' -z postinst ']'
+ trap 'message; message "Received signal. Aborting xserver-xorg package postinst script."; message; exit 1' HUP INT QUIT TERM
++ stty size
++ awk '{print $2}'
+ DEFCOLUMNS=
+ expr '' : '[[:digit:]]\+$'
+ DEFCOLUMNS=80
+ which readlink
+ '[' -e /etc/default/xorg ']'
+ '[' configure = configure ']'
+ '[' -n 1:7.0.22 ']'
+ UPGRADE=true
+ '[' x = xcustom ']'
+ CONFIG_DIR=/etc/X11
+ SERVER_SYMLINK=/etc/X11/X
+ XF86CONFIG=/etc/X11/XF86Config-4
+ XORGCONFIG=/etc/X11/xorg.conf
+ CONFIG_AUX_DIR=/var/lib/x11
+ SERVER_SYMLINK_CHECKSUM=/var/lib/x11/X.md5sum
+ SERVER_SYMLINK_ROSTER=/var/lib/x11/X.roster
+ XF86CONFIG_CHECKSUM=/var/lib/x11/XF86Config-4.md5sum
+ XORGCONFIG_CHECKSUM=/var/lib/x11/xorg.conf.md5sum
+ XF86CONFIG_ROSTER=/var/lib/x11/XF86Config-4.roster
+ XORGCONFIG_ROSTER=/var/lib/x11/xorg.conf.roster
+ THIS_SERVER=/usr/bin/Xorg
+ '[' -e /var/lib/x11/.migrateconfig ']'
+ '[' -n '' ']'
+ for ROSTER in '"$SERVER_SYMLINK_ROSTER"' '"$XORGCONFIG_ROSTER"'
+ fgrep -qsx xserver-xorg /var/lib/x11/X.roster
+ for ROSTER in '"$SERVER_SYMLINK_ROSTER"' '"$XORGCONFIG_ROSTER"'
+ fgrep -qsx xserver-xorg /var/lib/x11/xorg.conf.roster
+ '[' -L /etc/X11/X ']'
++ readlink /etc/X11/X
+ '[' /usr/bin/Xorg = /usr/X11R6/bin/Xorg ']'
++ readlink /etc/X11/X
+ '[' /usr/bin/Xorg = /usr/bin/X11/Xorg ']'
++ readlink /etc/X11/X
+ '[' /usr/bin/Xorg = /bin/true ']'
++ readlink /etc/X11/X
++ md5sum
++ cat /var/lib/x11/X.md5sum
+ '[' '5d831b0f7d5640fb6b825e56dda8e520 -' = '218470713acdfa492a70a4eacf71c276 -' ']'
++ echo /usr/X11R6/bin/Xorg
++ md5sum
++ cat /var/lib/x11/X.md5sum
+ '[' '2516693db02a93706e9018c30478ae4a -' = '218470713acdfa492a70a4eacf71c276 -' ']'
++ echo /usr/bin/X11/Xorg
++ md5sum
++ cat /var/lib/x11/X.md5sum
+ '[' '83ab85c01fb6849bc0c0827fab4ca91f -' = '218470713acdfa492a70a4eacf71c276 -' ']'
+ '[' -e /etc/X11/X ']'
+ warn 'not updating /etc/X11/X; file has been customized'
+ message 'xserver-xorg postinst warning: not updating /etc/X11/X; file has been customized'
+ reject_nondigits ''
+ '[' -n '' ']'
+ echo 'xserver-xorg postinst warning: not updating /etc/X11/X; file has been customized'
+ fmt -t -w 80
xserver-xorg postinst warning: not updating /etc/X11/X; file has been
customized
+ '[' -z true ']'
+ dpkg --compare-versions 1:7.0.22 le 1:8.0.14
++ md5sum /etc/X11/xorg.conf
++ cat /var/lib/x11/xorg.conf.md5sum
+ '[' 'dcfad6b3c92c4724dc6b8b44013f6b26 /etc/X11/xorg.conf' = '472bc37526c734def42b01095eba35c7 /etc/X11/XF86Config-4' ']'
+ '[' -e /etc/X11/xorg.conf ']'
+ '[' -n '' ']'
++ date +%Y%m%d%H%M%S
+ BACKUP_XORGCONFIG=/etc/X11/xorg.conf.20060713225341
+ warn '/etc/X11/xorg.conf has been customized, but we need to make updates. Backing up your config to /etc/X11/xorg.conf.20060713225341. If we screw something up, restore using this file.'
+ message 'xserver-xorg postinst warning: /etc/X11/xorg.conf has been customized, but we need to make updates. Backing up your config to /etc/X11/xorg.conf.20060713225341. If we screw something up, restore using this file.'
+ reject_nondigits ''
+ '[' -n '' ']'
+ echo 'xserver-xorg postinst warning: /etc/X11/xorg.conf has been customized, but we need to make updates. Backing up your config to /etc/X11/xorg.conf.20060713225341. If we screw something up, restore using this file.'
+ fmt -t -w 80
xserver-xorg postinst warning: /etc/X11/xorg.conf has been
customized, but we need to make updates. Backing up your config to
/etc/X11/xorg.conf.20060713225341. If we screw something up, restore
using this file.
+ cp /etc/X11/xorg.conf /etc/X11/xorg.conf.20060713225341
+ sed '-e
# Dump obsolete modules
/^[[:space:]]*Section[[:space:]]\+"Module"[[:space:]]*$/,/^[[:space:]]*EndSection[[:space:]]*$/ {
/^[[:space:]]*Load[[:space:]]\+"GLcore"[[:space:]]*$/d
/^[[:space:]]*Load[[:space:]]\+"speedo"[[:space:]]*$/d
}
/^[[:space:]]*Section[[:space:]]\+"Files"[[:space:]]*$/,/*[[:space:]]*EndSection[[:space:]]*$/ {
# Delete the module path
/^[[:space:]]*ModulePath[[:space:]]\+/d
# Delete the rgb path
/^[[:space:]]*RgbPath[[:space:]]\+/d
# Change font paths for the fonts xorg-x11 used to ship
#/^[[:space:]]*FontPath[[:space:]]\+"\/usr\/share\/fonts\/X11\/misc"[[:space:]]*$/d
#/^[[:space:]]*FontPath[[:space:]]\+"\/usr\/share\/fonts\/X11\/cyrillic"[[:space:]]*$/d
#/^[[:space:]]*FontPath[[:space:]]\+"\/usr\/share\/fonts\/X11\/100dpi"[[:space:]]*$/d
#/^[[:space:]]*FontPath[[:space:]]\+"\/usr\/share\/fonts\/X11\/75dpi"[[:space:]]*$/d
#/^[[:space:]]*FontPath[[:space:]]\+"\/usr\/share\/fonts\/X11\/Type1"[[:space:]]*$/d
#/^[[:space:]]*FontPath[[:space:]]\+"\/usr\/share\/fonts\/X11\/CID"[[:space:]]*$/d
/^[[:space:]]*FontPath[[:space:]]\+"\/usr\/share\/fonts\/X11\/Speedo"[[:space:]]*$/d
/^[[:space:]]*FontPath[[:space:]]\+"\/usr\/lib\/X11\/fonts\/misc"[[:space:]]*$/i\
FontPath "/usr/share/fonts/X11/misc"
/^[[:space:]]*FontPath[[:space:]]\+"\/usr\/lib\/X11\/fonts\/cyrillic"[[:space:]]*$/i\
FontPath "/usr/share/fonts/X11/cyrillic"
/^[[:space:]]*FontPath[[:space:]]\+"\/usr\/lib\/X11\/fonts\/100dpi"[[:space:]]*$/i\
FontPath "/usr/share/fonts/X11/100dpi"
/^[[:space:]]*FontPath[[:space:]]\+"\/usr\/lib\/X11\/fonts\/75dpi"[[:space:]]*$/i\
FontPath "/usr/share/fonts/X11/75dpi"
/^[[:space:]]*FontPath[[:space:]]\+"\/usr\/lib\/X11\/fonts\/Type1"[[:space:]]*$/i\
FontPath "/usr/share/fonts/X11/Type1"
/^[[:space:]]*FontPath[[:space:]]\+"\/usr\/lib\/X11\/fonts\/CID"[[:space:]]*$/i\
FontPath "/usr/share/fonts/X11/CID"
}
' /etc/X11/xorg.conf
+ chown --reference=/etc/X11/xorg.conf /etc/X11/xorg.conf.madwizard-new
+ chmod --reference=/etc/X11/xorg.conf /etc/X11/xorg.conf.madwizard-new
+ mv /etc/X11/xorg.conf.madwizard-new /etc/X11/xorg.conf
+ exit 0