diff options
author | Slavi Pantaleev | 2025-01-07 15:45:33 +0200 |
---|---|---|
committer | Slavi Pantaleev | 2025-01-07 15:45:33 +0200 |
commit | 07d6450b20500188645d84be9ebab81164a4e45b (patch) | |
tree | 3799fc27e613061bc6f8f560b0193bd7e72cef4b /sftpman-iced.install | |
parent | 0737940777175af52d34967d97c5ec561c2d70ac (diff) | |
download | aur-07d6450b20500188645d84be9ebab81164a4e45b.tar.gz |
Release 2.0.0-1 to update dependencies and make sure /mnt/sshfs exists
Diffstat (limited to 'sftpman-iced.install')
-rw-r--r-- | sftpman-iced.install | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sftpman-iced.install b/sftpman-iced.install new file mode 100644 index 000000000000..aa1000bdf493 --- /dev/null +++ b/sftpman-iced.install @@ -0,0 +1,12 @@ +# We only ever create this directory and never remove it, +# because it's not just this package that potentially needs it. +# +# Both sftpman and sftpman-iced (as well as the old Python-based sftpman software) may be using it. +_ensure_mount_path() { + mkdir -p -m 775 /mnt/sshfs + chown :users /mnt/sshfs +} + +post_install() { + _ensure_mount_path +} |