瀏覽代碼

Fix #328

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

+ 2
- 2
plugins/checksum 查看文件

@@ -42,14 +42,14 @@ fi

if [ "$resp" = "s" ]; then
checksum_type
sed 's|'"$PWD/"'||g' < "$selection" | xargs -0 -i ${chsum}sum {} > "checksum_$(date '+%Y%m%d%H%M').$chsum"
sed 's|'"$PWD/"'||g' < "$selection" | xargs -0 -I{} ${chsum}sum {} > "checksum_$(date '+%Y%m%d%H%M').$chsum"
else
if [ -n "$1" ] && [ -f "$1" ]; then
for chks in md5 sha1 sha224 sha256 sha384 sha512
do
if [ "$(echo "$1" | grep \.${chks}$)" ]; then
${chks}sum -c < "$1"
read
read dummy
exit
fi
done


Loading…
取消
儲存