mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Fix #398
This commit is contained in:
parent
7f2bf343f8
commit
70f3bd2e53
|
@ -50,7 +50,8 @@ curl -Ls -O https://github.com/jarun/nnn/archive/master.tar.gz
|
||||||
tar -zxf master.tar.gz
|
tar -zxf master.tar.gz
|
||||||
|
|
||||||
cd nnn-master/plugins || exit 1
|
cd nnn-master/plugins || exit 1
|
||||||
for f in *; do
|
|
||||||
|
for f in $(find . -maxdepth 1 \( ! -iname "." ! -iname "*.md" \)); do
|
||||||
if [ -f ../../plugins/"$f" ]; then
|
if [ -f ../../plugins/"$f" ]; then
|
||||||
if [ "$(diff --brief "$f" ../../plugins/"$f")" ]; then
|
if [ "$(diff --brief "$f" ../../plugins/"$f")" ]; then
|
||||||
prompt "$f"
|
prompt "$f"
|
||||||
|
@ -63,4 +64,4 @@ done
|
||||||
cd ../.. || exit 1
|
cd ../.. || exit 1
|
||||||
|
|
||||||
$sucmd mv -vf nnn-master/misc/nlaunch/nlaunch /usr/local/bin/
|
$sucmd mv -vf nnn-master/misc/nlaunch/nlaunch /usr/local/bin/
|
||||||
rm -rf nnn-master/ master.tar.gz "$PLUGIN_DIR"/README.md
|
rm -rf nnn-master/ master.tar.gz
|
||||||
|
|
Loading…
Reference in a new issue