summaryrefslogtreecommitdiff
path: root/data/rtadvd/_metadata/postrm
blob: ed3dfacddbc7c517386f1ec925a8479e4074f6c2 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

if [[ $1 == abort-install || $1 == abort-upgrade ]]; then
    bin=/usr/sbin/rtadvd
    if [[ -e "${bin}".sbin ]]; then
        mv -f -v "${bin}"{.sbin,} || exit 1
    fi
fi