Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # now we do the actual install
- if [ "$TOINSTALL" = "" ]; then
- echo ". . No new packages require instalation.";
- else
- if [ "`uname -m`" = "x86_64" ] || [ "`uname -m`" = "ia64" ]; then
- echo ". . 64 bit architecture detected, attempting install anyways";
- sudo dpkg -i --force-architecture $TOINSTALL
- elif [ "`uname -m | awk '$1 ~ /i.86/'`" ]; then
- sudo dpkg -i $TOINSTALL
- else
- echo ". . ERROR: Unknown linux architecture, exiting without installing.";
- ERROR=-1
- fi
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement