Setting up makedev (2.3.1-90)/var/lib/dpkg/info/makedev.postinit: 34: [:Illegal number: 3-0]
/var/lib/dpkg/info/makedev.postinst: 34: [: Illegal number: 3-0Find your paste here: http://paste.siduction.org/20120321215149 - Thank you for using siduction-paste!
#!/bin/sh -ecd /dev# don't stomp on devfs usersif [ -c .devfsd ]then echo ".devfsd presence implies active DevFS. Aborting postinst before touching /dev." # use exit 0, not 1, since this isn't a failure, per se exit 0fiMAKEDEV std consoleonly fd# ensure base tty set exists, since debootstrap no longer doesfor i in tty0 tty1 tty2 tty3 tty4 tty5 tty6 tty7 tty8 tty9; do test -e /dev/$i || MAKEDEV $idonechmod g-r,o= /dev/tty[0-9]*test -e /dev/random || MAKEDEV randomtest -e /dev/urandom || MAKEDEV urandomtest -e /dev/audio || MAKEDEV audiotest -e /dev/agpgart || MAKEDEV agpgart[ ! -f /dev/mouse ] && [ -f /dev/sunmouse ] && ln -s sunmouse mouse# force update of fb devices if kernel is Linux >= 2.4 and they already existkern_rev1=`uname -r | sed -e 's@^\([^.]*\)\..*@\1@'`kern_rev2=`uname -r | sed -e 's@^[^.]*\.\([^.]*\)\..*@\1@'`if [ `uname -s` = "Linux" ] && [ $kern_rev1 -ge 2 ] && [ $kern_rev2 -ge 4 ] && [ -e /dev/fb0 ]then MAKEDEV fbfifor A in sda16 sdb16 sdc16 sdd16 sde16 sdf16 sdg16 sdh16 \ ada16 adb16 adc16 add16 ade16 adf16 adg16 adh16do test -e /dev/$A && rm /dev/$Adonefor A in logibm psaux inportbm atibm jbm smouse logimouse psmouse \msmouse atimouse jmouse amigamouse atarimouse sunmouse amigamouse1do test -e /dev/$A && chmod 600 /dev/$Adone# fix security hole caused by group-write permissions on kmemtest -e /dev/kmem && chown root:kmem /dev/kmem && chmod 0640 /dev/kmemLIST=""for TYPE in tty pty ; do for LETTER in p q r s t u v w x y z a b c d e ; do if [ -e /dev/$TYPE$LETTER"0" ]; then MAJOR="`ls -l /dev/$TYPE$LETTER"0"|cut -c33-36`" if [ "$MAJOR" = 4 ] ; then LIST="$LIST $TYPE$LETTER" fi fi donedoneif [ -n "$LIST" ]; then cat > /etc/rc.boot/makedev << EOF#!/bin/shecho "Creating new console devices"MAKEDEV $LISTrm /etc/rc.boot/makedev ; exit 0EOFchmod 755 /etc/rc.boot/makedevfiexit 0