From d9513087a1a0702325bef126ebfcaf6755602f76 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 28 Nov 2024 22:54:29 +0100 Subject: Add mount-devices script under cryptsetup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- cryptsetup/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 cryptsetup/Makefile (limited to 'cryptsetup/Makefile') diff --git a/cryptsetup/Makefile b/cryptsetup/Makefile new file mode 100644 index 0000000..0666bc6 --- /dev/null +++ b/cryptsetup/Makefile @@ -0,0 +1,15 @@ +.POSIX: + +install: + ../check-installed-shebang mount-devices + ../check-in-path test + ../check-in-path mountpoint + ../check-in-path cryptsetup + ../check-in-path mount + mkdir -p -- ~/.local/bin + test ! -e ~/.local/bin/mount-devices || test -L ~/.local/bin/mount-devices + ln -sf -- ~/.dotfiles/cryptsetup/mount-devices ~/.local/bin/mount-devices + +uninstall: + +! ../check-installed cryptsetup + -unlink -- ~/.local/bin/mount-devices -- cgit v1.2.3-70-g09d2