summarylogtreecommitdiffstats
path: root/sftpman-iced.install
blob: aa1000bdf493d17f7a49ac3ccaee150c3a2f75af (plain)
1
2
3
4
5
6
7
8
9
10
11
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
}