File: fuse3.preinst

package info (click to toggle)
fuse3 3.18.1-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 58,496 kB
  • sloc: ansic: 25,055; perl: 6,044; cpp: 3,960; python: 1,201; sh: 416; 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