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 e0e8ddb4a3406d54f4f98d428fc850f7beb6e280

Improve readability of "archive" in scripts/deploy
Author: xaizek
Author date (UTC): 2024-04-20 09:13
Committer name: xaizek
Committer date (UTC): 2024-04-20 09:13
Parent(s): 044e98d08c6fc5fdf885a1521a5338f4e9e90eff
Signing key: 99DC5E4DB05F6BE2
Tree: 613065de033b2a620645f07feee52506173b1cd9
File Lines added Lines deleted
scripts/deploy 10 0
File scripts/deploy changed (mode: 100755) (index 34359f7b0..93468aa68)
... ... if [ "$target" = all ] || [ "$target" = archive ]; then
142 142 rm -rf "$dir" rm -rf "$dir"
143 143 mkdir "$dir" mkdir "$dir"
144 144 cp -R data "$dir" cp -R data "$dir"
145
145 146 for i in "$dir/data/colors"/*; do for i in "$dir/data/colors"/*; do
146 147 unix2dos -c ISO "$i" unix2dos -c ISO "$i"
147 148 done done
149
150 # remove Unix-specific files from data/
148 151 rm "$dir/data"/*.desktop rm "$dir/data"/*.desktop
149 152 rm -r "$dir/data/man" rm -r "$dir/data/man"
153
154 # update EOLs of a few other files in data/
150 155 unix2dos -c ISO "$dir/data/vifm-help.txt" unix2dos -c ISO "$dir/data/vifm-help.txt"
151 156 unix2dos -c ISO "$dir/data/vifmrc" unix2dos -c ISO "$dir/data/vifmrc"
157
158 # prepare Vim-files in data/
152 159 mv "$dir/data/vim/doc/plugin/vifm-plugin.txt" "$dir/data/vim/doc/vifm-plugin.txt" mv "$dir/data/vim/doc/plugin/vifm-plugin.txt" "$dir/data/vim/doc/vifm-plugin.txt"
153 160 rmdir "$dir/data/vim/doc/plugin" rmdir "$dir/data/vim/doc/plugin"
154 161 mkdir "$dir/data/vim-doc" mkdir "$dir/data/vim-doc"
155 162 mv "$dir/data/vim/doc/app" "$dir/data/vim-doc/doc" mv "$dir/data/vim/doc/app" "$dir/data/vim-doc/doc"
163
164 # the rest of text files are outside of data/
156 165 pkgfiles='AUTHORS BUGS ChangeLog ChangeLog.LuaAPI COPYING COPYING.3party FAQ INSTALL NEWS README THANKS TODO' pkgfiles='AUTHORS BUGS ChangeLog ChangeLog.LuaAPI COPYING COPYING.3party FAQ INSTALL NEWS README THANKS TODO'
157 166 for i in $pkgfiles; do for i in $pkgfiles; do
158 167 dest="$dir/$i.txt" dest="$dir/$i.txt"
159 168 cp "$i" "$dest" cp "$i" "$dest"
160 169 unix2dos -c ISO "$dest" unix2dos -c ISO "$dest"
161 170 done done
171
162 172 cp src/vifm-pause src/*.dll src/*.exe "$dir" cp src/vifm-pause src/*.dll src/*.exe "$dir"
163 173 strip -S --strip-unneeded "$dir"/*.dll "$dir"/*.exe strip -S --strip-unneeded "$dir"/*.dll "$dir"/*.exe
164 174
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