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

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