From 4042abe156b4f9cad30d66238b52fcd938043ded Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 26 Jul 2016 02:10:27 +0300 Subject: split .bashrc into multiple files --- .bashrc_distr | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .bashrc_distr (limited to '.bashrc_distr') diff --git a/.bashrc_distr b/.bashrc_distr new file mode 100644 index 0000000..10df5b2 --- /dev/null +++ b/.bashrc_distr @@ -0,0 +1,15 @@ +[ ! -z "${BASHRC_DISTR+x}" ] && return || readonly BASHRC_DISTR=1 + +checksums_path='sha1sums.txt' + +update_checksums() { + sha1sum "$@" > "$checksums_path" +} + +update_checksums_distr() { + update_checksums *.exe *.iso +} + +verify_checksums() { + sha1sum --check "$checksums_path" +} -- cgit v1.2.3