wok-next view linld/stuff/upx.sh @ rev 19950

Add libegl-mesa
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 16 12:41:47 2017 +0200 (2017-10-16)
parents 052a6e449318
children
line source
1 #!/bin/sh
3 if upx 2>&1 | grep -q "UPX 3.91" ; then
4 upx -5 $1 && echo "0 3C E8 75 FB 89 F7 AD 86 E0 29 F8 AB |" | hexdump -R | \
5 dd bs=1 seek=$(($(stat -c %s $1) - 15)) of=$1 conv=notrunc 2> /dev/null
6 else
7 upx -5 --8086 $1
8 fi