summaryrefslogtreecommitdiff
path: root/package/sdb.install.linux
blob: dfc6c3104b7b1749c5e14dcd145f1313d98bb2b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash -ex

SDB_AC_NAME=sdb-autocomplete
SDB_AC_SRC_PATH=${INSTALLED_PATH}/tools/${SDB_AC_NAME}
SDB_AC_DST_PATH=/etc/bash_completion.d/${SDB_AC_NAME}
SDB_NAME=sdb
SDB_PATH=${INSTALLED_PATH}/tools/${SDB_NAME}

gksudo "mv -f ${SDB_AC_SRC_PATH} ${SDB_AC_DST_PATH}"
gksudo "ln -sf ${SDB_PATH} /usr/bin/sdb"

# . /etc/bash_completion

exit 0