Skip to content

Commit

Permalink
nc-automount: small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nacho committed Sep 5, 2017
1 parent 03d12da commit e8efe6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion etc/nextcloudpi-config.d/nc-automount.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ IMPORTANT: halt or umount the drive before extracting" \
install()
{
apt-get update
apt-get install -y --no-install-recommends udiskie
apt-get install -y --no-install-recommends udiskie inotify-tools

cat > /etc/udev/rules.d/99-udisks2.rules <<'EOF'
ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{UDISKS_FILESYSTEM_SHARED}="1"
Expand Down
2 changes: 1 addition & 1 deletion update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ source /usr/local/etc/library.sh

# fix automount, reinstall if its old version
AMFILE=/usr/local/etc/nextcloudpi-config.d/nc-automount.sh
grep -q nc-automount-links.service $AMFILE || rm $AMFILE
grep -q inotify-tools $AMFILE || rm $AMFILE

# copy all files in bin and etc
for file in bin/* etc/*; do
Expand Down

0 comments on commit e8efe6b

Please sign in to comment.