if ! is_root; then
- sudo ${BASH_SOURCE[0]} ${was_sourced}
+ echo "Warning: root permissions are required to install the tab completion script into the protected '${COMPGENFOLDER}' folder"
+
+ sudo ${BASH_SOURCE[0]} ${was_sourced}
ret=${?}
if [ -d "${COMPGENFOLDER}" ]; then
+ # remove the old version of oclHashcat64.sh (was renamed to just oclHashcat.sh)
+
+ rm -f "${COMPGENTARGET}"/oclHashcat64.sh
+
# copy the script to target folder
cp ${ROOT}/oclHashcat.sh "${COMPGENTARGET}"