File: fuse3.preinst

package info (click to toggle)
fuse3 3.17.2-3
  • links: PTS
  • area: main
  • in suites: trixie
  • size: 37,592 kB
  • sloc: ansic: 22,937; perl: 6,044; cpp: 3,853; python: 1,128; sh: 408; javascript: 313; makefile: 59
file content (16 lines) | stat: -rw-r--r-- 366 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -e

# begin-remove-after: released:trixie
# protective diversion of files moved from / to /usr, to avoid file loss.
if [ "$1" = "upgrade" ] || [ "$1" = "install" ]; then
	for f in /bin/fusermount /sbin/mount.fuse; do
		dpkg-divert --package #PACKAGE# --no-rename --divert "$f.usr-is-merged" --add "$f"
	done
fi
# end-remove-after

#DEBHELPER#

exit 0