Ubuntu Pastebin

Paste from Ponderer of #ubuntu at Tue, 1 Sep 2015 10:20:13 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
MS_Printf "Verifying archive integrity..."
    if test $CRCsum = "0000000000"; then
	test x$2 = xy && echo " $1 does not contain a CRC checksum."
    else
	sum1=`tail +266 $1 | cksum | sed -e 's/ /Z/' -e 's/	/Z/' | cut -dZ -f1`
	if test "$sum1" = "$CRCsum"; then
	    test x$2 = xy && MS_Printf " Checksums are OK."
	else
	    echo "Error in checksums: $sum1 is different from $CRCsum"
--
	MD5_PATH=`type -p md5sum`
	MD5_PATH=${MD5_PATH:-`type -p md5`}
	PATH=$OLD_PATH
	if test -x "$MD5_PATH"; then
	    md5sum=`tail +266 $1 | "$MD5_PATH" | cut -b-32`;
	    if test "$md5sum" != "$MD5"; then
		echo "Error in MD5 checksums: $md5sum is different from  $MD5"
		exit 2
	    else
--
	exit 0
	;;
    --list)
	echo Target directory: $targetdir
	tail +266 $0  | cat | tar tvf -
	exit 0
	;;
    --check)
	MS_Check "$0" y
--
res=3
if test "$keep" = n; then
    trap 'echo Signal caught, cleaning up > /dev/tty; cd $TMPROOT; /bin/rm -rf $tmpdir; eval $finish; exit 15' 1 2 15
fi
if (cd "$location"; tail +266 $0; ) | cat | UnTAR |     (while read a; do MS_Printf .; done; echo; ); then
	(PATH=/usr/xpg4/bin:/usr/local/samsungprinter:/opt/intel/compiler60/ia32/bin:/usr/local/jdk/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/openwin/bin:/usr/games:/usr/local/openssh/bin:/usr/share/texmf/bin:/usr/local/kde/bin:/usr/src/qt/bin:/usr/local/pgp:/home/icculus/bin; chown -R `id -u` .;  chgrp -R `id -g` .)
	res=0
	if test x"$script" != x; then
		if test x"$verbose" = xy; then
Download as text