xaizek / vifm (License: GPLv2+) (since 2018-12-07)
Vifm is a file manager with curses interface, which provides Vi[m]-like environment for managing objects within file systems, extended with some useful ideas from mutt.
Commit 45fd3ba9239c0f0aef4ae5ec642a222e94f06e84

Update binary type checks in scripts/mxe-deploy
Looks like `file` changed format of its output.
Author: xaizek
Author date (UTC): 2025-01-19 14:57
Committer name: xaizek
Committer date (UTC): 2025-01-19 14:57
Parent(s): 3735365f51023430a064bf48c2be4b78b6154c4c
Signing key: 99DC5E4DB05F6BE2
Tree: 50d3499e953c93b633735710441e5c83aef14afd
File Lines added Lines deleted
scripts/mxe-deploy 6 6
File scripts/mxe-deploy changed (mode: 100755) (index 3946628dd..07f601090)
... ... echo ::: VERIFYING PACKAGES... :::
83 83 unzip "$w32.zip" unzip "$w32.zip"
84 84 unzip "$w64.zip" unzip "$w64.zip"
85 85
86 x32_exe='PE32 executable (console) Intel 80386 (stripped to external PDB), for MS Windows'
87 x64_exe='PE32+ executable (console) x86-64 (stripped to external PDB), for MS Windows'
86 x32_exe='Intel i386'
87 x64_exe='x86-64'
88 88
89 89 ret=0 ret=0
90 90
91 if [ "$(file -b "$w32/vifm.exe")" != "$x32_exe" ]; then
91 if [[ ! "$(file -b "$w32/vifm.exe")" =~ "$x32_exe" ]]; then
92 92 echo "ERROR: Wrong type of $w32/vifm.exe:" echo "ERROR: Wrong type of $w32/vifm.exe:"
93 93 file -b "$w32/vifm.exe" file -b "$w32/vifm.exe"
94 94 ret=1 ret=1
95 95 fi fi
96 if [ "$(file -b "$w32/win_helper.exe")" != "$x32_exe" ]; then
96 if [[ ! "$(file -b "$w32/win_helper.exe")" =~ "$x32_exe" ]]; then
97 97 echo "ERROR: Wrong type of $w32/win_helper.exe:" echo "ERROR: Wrong type of $w32/win_helper.exe:"
98 98 file -b "$w32/win_helper.exe" file -b "$w32/win_helper.exe"
99 99 ret=1 ret=1
100 100 fi fi
101 if [ "$(file -b "$w64/vifm.exe")" != "$x64_exe" ]; then
101 if [[ ! "$(file -b "$w64/vifm.exe")" =~ "$x64_exe" ]]; then
102 102 echo "ERROR: Wrong type of $w64/vifm.exe:" echo "ERROR: Wrong type of $w64/vifm.exe:"
103 103 file -b "$w64/vifm.exe" file -b "$w64/vifm.exe"
104 104 ret=1 ret=1
105 105 fi fi
106 if [ "$(file -b "$w64/win_helper.exe")" != "$x64_exe" ]; then
106 if [[ ! "$(file -b "$w64/win_helper.exe")" =~ "$x64_exe" ]]; then
107 107 echo "ERROR: Wrong type of $w64/win_helper.exe:" echo "ERROR: Wrong type of $w64/win_helper.exe:"
108 108 file -b "$w64/win_helper.exe" file -b "$w64/win_helper.exe"
109 109 ret=1 ret=1
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/vifm

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/vifm

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master