瀏覽代碼

Fix #398

master
Arun Prakash Jana 5 年之前
父節點
當前提交
70f3bd2e53
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: A75979F35C080412
共有 1 個檔案被更改,包括 3 行新增2 行删除
  1. +3
    -2
      plugins/getplugs

+ 3
- 2
plugins/getplugs 查看文件

@@ -50,7 +50,8 @@ curl -Ls -O https://github.com/jarun/nnn/archive/master.tar.gz
tar -zxf master.tar.gz

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 [ "$(diff --brief "$f" ../../plugins/"$f")" ]; then
prompt "$f"
@@ -63,4 +64,4 @@ done
cd ../.. || exit 1

$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…
取消
儲存