Yerbacon/scripts/postinst.sh

10 lines
230 B
Bash
Raw Normal View History

#!/bin/sh
# Post install ybcon script
ln -sf /opt/bin/ybcon.sh /usr/bin/ybcon
bashcompleteLoc="/etc/bash_completion.d"
if [ -d $bashcompleteLoc ]; then
ln -sf /opt/etc/ybcon.d/bash-completion.sh "$bashcompleteLoc/ybcon.sh"
fi