File: python3-stem.postinst

package info (click to toggle)
python-stem 1.8.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 7,892 kB
  • sloc: python: 33,713; java: 312; makefile: 131; sh: 27
file content (14 lines) | stat: -rw-r--r-- 314 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -e

if [ "$1" = "configure" ]; then
    update-alternatives \
        --install /usr/bin/tor-prompt tor-prompt /usr/bin/python3-tor-prompt 200 \
        --slave /usr/share/man/man8/tor-prompt.8.gz tor-prompt.8.gz \
                /usr/share/man/man8/python3-tor-prompt.8.gz

fi

#DEBHELPER#

exit 0