+ echo "mkdir -p $TL_ROOT/{tlpkg/{backups,tlpobj},texmf-var/{web2c,tex/generic/config}}" > postinst
+ echo "export PATH=\$PATH:$TL_BINDIR" >> postinst
+ echo "echo Updating tlmgr" >> postinst
+ echo "tlmgr update --self" >> postinst
+ echo "echo Generating language files and setting up symlinks" >> postinst
+ echo "tlmgr -q generate language" >> postinst
+ echo "mktexlsr $TL_ROOT/texmf-var" >> postinst
+ echo "texlinks" >> postinst
+ echo "echo ''" >> postinst
+ echo "echo Welcome to TeX Live!" >> postinst
+ echo "echo ''" >> postinst
+ echo "echo 'TeX Live is a joint project of the TeX user groups around the world;'" >> postinst
+ echo "echo 'please consider supporting it by joining the group best for you.'" >> postinst
+ echo "echo 'The list of groups is available on the web at http://tug.org/usergroups.html.'" >> postinst
+ echo "echo ''" >> postinst
+ echo "echo 'Please run \"source $PREFIX/etc/profile.d/texlive.sh\" to add texlive'\''s binaries to your current shell'\''s PATH.'" >> postinst
+ echo "exit 0" >> postinst
+ chmod 0755 postinst
+
+ # Remove all files installed through tlmgr on removal