mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Add Info-ZIP unzip.com
This commit is contained in:
parent
1531f1a4a7
commit
af4687cc3f
55 changed files with 36744 additions and 2 deletions
26
third_party/unzip/unix/Packaging/preinstall.in
vendored
Normal file
26
third_party/unzip/unix/Packaging/preinstall.in
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
#!/bin/sh
|
||||
echo " "
|
||||
echo "REPORT ALL BUGS, PROBLEMS, AND ACCOLADES TO:"
|
||||
echo " "
|
||||
echo " Zip-Bugs@lists.wku.edu"
|
||||
echo " "
|
||||
echo "Checking architecture platform for .ARCH. ..."
|
||||
arch=`uname -p`
|
||||
if [ "arch_${arch}" != "arch_.ARCH." ]; then
|
||||
echo " "
|
||||
echo "This product MUST be installed on a Solaris .ARCH. platform."
|
||||
echo "Your machine looks like it is a ${arch} platform."
|
||||
echo "Please install the version for the .ARCH. architecture."
|
||||
echo "Aborting the installation because of this. "
|
||||
echo " "
|
||||
returncode=1
|
||||
else
|
||||
echo " "
|
||||
echo "This product works on .ARCH., which you happen to have!"
|
||||
echo " "
|
||||
returncode=0
|
||||
fi
|
||||
echo " "
|
||||
/usr/bin/sleep 4
|
||||
exit ${returncode:-1}
|
||||
#
|
Loading…
Add table
Add a link
Reference in a new issue