File: python3-ethtool.prerm

package info (click to toggle)
python-ethtool 0.14-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 328 kB
  • sloc: ansic: 1,770; python: 1,509; makefile: 24; sh: 16
file content (9 lines) | stat: -rw-r--r-- 187 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -e

if [ "$1" != "upgrade" ]; then
  update-alternatives --remove pethtool /usr/sbin/pethtool3
  update-alternatives --remove pifconfig /usr/sbin/pifconfig3
fi

#DEBHELPER#