diff options
author | Mattias Andrée <m@maandree.se> | 2024-11-28 22:54:29 +0100 |
---|---|---|
committer | Mattias Andrée <m@maandree.se> | 2024-11-28 22:54:29 +0100 |
commit | d9513087a1a0702325bef126ebfcaf6755602f76 (patch) | |
tree | 5122cf30674a2adce4aa0f9e29e05a0a45319291 /cryptsetup/Makefile | |
parent | m (diff) | |
download | dotfiles-master.tar.gz dotfiles-master.tar.bz2 dotfiles-master.tar.xz |
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'cryptsetup/Makefile')
-rw-r--r-- | cryptsetup/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
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 |