Update worker.sh
This commit is contained in:
1 parent
4a4d1deb6e
commit
ef0ea24958
1 file changed
+1
-1
+1
-1
@@ -37,7 +37,7 @@ if [ -z $MAGIC ] ; then
|
||||
echo "Magic number not detected. Dear upstream, please consider to add one to the AppImage as per"
|
||||
echo "https://github.com/AppImage/AppImageSpec/blob/master/draft.md"
|
||||
ELFMAGIC=$(dd if="$FILENAME" bs=1 skip=0 count=4 2>/dev/null)
|
||||
if [ $ELFMAGIC == $(echo -ne "\x7f\x45\x4c\x46")] ; then
|
||||
if [ $ELFMAGIC == $(echo -ne "\x7f\x45\x4c\x46") ] ; then
|
||||
echo "ELF file detected"
|
||||
ISOMAGIC=$(dd if="$FILENAME" bs=1 skip=32769 count=5 2>/dev/null)
|
||||
if [ $ISOMAGIC == $(echo -ne "CD001") ] ; then
|
||||
|
||||
Reference in new issue
Block a user