install.sh (318B)
1 #!/bin/sh 2 3 [ "$(id -u)" -ne 0 ] && echo 'Permission denied. Are you root?' && exit 1 4 5 DIR='/usr/share/esconj/' 6 path='/usr/bin/' 7 8 mkdir -p "${DIR}" 9 echo "./verbs.csv -> ${DIR}/verbs.csv" 10 cp './verbs.csv' "${DIR}/verbs.csv" 11 echo "./esconj -> ${path}/esconj" 12 cp './esconj' "${path}/esconj" 13 14 echo 'Installation complete.'