Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # 2.27
- require=2.28
- version=$(ldd --version | grep GLIBC | tail -c 5)
- utfall=$(awk 'BEGIN { print ('$version' >= '$require') ? 0 : 1 }')
- if [ $utfall == 1 ]
- then
- lxterminal -e 'printf "You have glibc version '$version'. The required version is '$require' or higher.\nThe program is unable to start.\nPlease update to a newer Linux version.\n"; read -p "Prees any key..."'
- else
- ./mall
- fi
Add Comment
Please, Sign In to add comment