0
  6   ˆl—Ãa¾”Êe¶…2 ™¸Ó—mLZ7ÿ�þZ‹8 ¾Ô`+­€þÂƒgÁÀ¿     #!/bin/sh -e

if test $# -eq 0
then
        echo "usage: $0 shellname [shellname ...]"
        exit 1
fi

file="$DPKG_ROOT/etc/shells"
# I want this to be GUARANTEED to be on the same filesystem as $file
tmpfile="${file}.tmp"

set -o noclobber

cleanup() {
	rm -f "$tmpfile"
}
trap cleanup EXIT

if ! cat "$file" > "$tmpfile"
then
        cat 1>&2 <<EOF
Either another instance of $0 is running, or it was previously interrupted.
Please examine ${tmpfile} to see if it should be moved onto ${file}.
EOF
        exit 1
fi

for i
do
        REALDIR="$(dirname "$(realpath -m "$i")")/$(basename "$i")"
        for j in "$i" "$REALDIR"
        do
                if ! grep -q "^${j}$" "$tmpfile"
                then
                        echo "$j" >> "$tmpfile"
                fi
        done
done

chmod --reference="${file}" "${tmpfile}" || chmod $(stat -c %a "${file}") "${tmpfile}"
chown --reference="${file}" "${tmpfile}" || chown $(stat -c %U "${file}") "${tmpfile}"

mv -Z "${tmpfile}" "${file}" || mv "${tmpfile}" "${file}"

trap "" EXIT
exit 0
  /   ˆ{‹„„-i[D<†ªoZƒ›Ù«Ã523_‘I|¥‰ÓMdœv ©ƒ†ü+=ÃÂ     ‹      ½”QoÚ0Çßû)<?ì-9i+Ñ$[G�†FQ¦iš¦É‰MâbìÈ6cìÓÏ!TÍ*P»ö’Äö?wÿß]rÑ›t:X|�ÑÇÅÝÍ>�{ _z€t‘6¡ß	 †ŒpimÕØn·þ¶ç+]Àb¥]‹ŒÕ<·>µ'Q½—\ ¨d„º;Š,·‚%#IÙ/¤–ÔÆNY£Á”D3�Š²kE7‚xŸ‘Œ	(™¨˜ö4[“Ê#f'sÏ*¯`’ib•Ž ‰ë2Á!U”)º«gÈæ‚îaH¶OZ?ê$²%úI/dŒ­ªpñu�ŒÎc<WÒ@&ˆ\ù_bD„�ñ·Ñ`úÝéÀ–õÛIDP©Ù2ÆïñäfßâdBÖ,r\s×hÆÄXäø’3zR|ßˆïùïÓÓF“2“k^Y®ä“b5WÂTÄ±^:‚R·U�„¾T’ÿUŒÙí|8Y¤£ySZ‡xr÷ÚÞádæŽ¤E)×,wÝÚšxoefª›Ç%:Ô¼(-NòÐQå?P-• L·¹N	ž9·õµíð™¥n§z�k¯ÓEAØ¿ì!tFï¹’j+Ûæ]Ã�š¯VÅƒñ„r-|0JâäÙÆ‹HW^p…:A?¼>‰øÝOÿÉ}�¤`�<­Õùa^ù_ÁaâD°Ÿn4óõÃ„auÂ    7   ˆl–Ým_JÅ5*�fàž¸TÅ£�þ^yð,Ùc’4QÈV�üÿÆ„e§ÜÅÄÃ ?÷     ELF          >    À      @       ��          @ 8  @         @       @       @       Ø      Ø                                                                                        è      è                                        íI      íI                    `       `       `      8      8                   ˜|      ˜Œ      ˜Œ      ¶      Ø                  ¨|      ¨Œ      ¨Œ      ð      ð                   8      8      8                                   X      X      X      D       D              Såtd   8      8      8                             Påtd   @l      @l      @l      œ       œ              Qåtd                                                  Råtd   ˜|      ˜Œ      ˜Œ      h      h             /lib64/ld-linux-x86-64.so.2              GNU € À                   GNU Ç	W€�`Ðüd•56@�ÁÏŠŸè         GNU                      *          �   *   +   ,   ÑeÎm9ò‹³¢÷                        (                      H                                           Û                      �                      ˆ                      ã                      {                      @                     2                     ‚                      é                      �                                                                 |                      Ô                                            ®                                            T                      b                      ¤                      ˆ                      ¥                                           Ç                      o                      n                                           t                      º                      À                      i                      -                     9                     :                      ³                      û                      í                      [                         "                        €�             –     `�              __cxa_finalize fgets alarm getprotoent __libc_start_main __fprintf_chk endprotoent strcmp socket signal atoi fopen getopt fclose uname strtol memset optarg strncmp recvfrom setprotoent shmat shmget __strcpy_chk setsid strncpy shmdt dup __sprintf_chk f