mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
remove old migration code
This commit is contained in:
parent
286c099848
commit
3e6f115ed8
@ -41,9 +41,6 @@ fi
|
|||||||
|
|
||||||
if [ ! -e "${AUTOJUMP_DATA_DIR}" ]; then
|
if [ ! -e "${AUTOJUMP_DATA_DIR}" ]; then
|
||||||
mkdir -p "${AUTOJUMP_DATA_DIR}"
|
mkdir -p "${AUTOJUMP_DATA_DIR}"
|
||||||
mv ~/.autojump_py "${AUTOJUMP_DATA_DIR}/autojump_py" 2>>/dev/null #migration
|
|
||||||
mv ~/.autojump_py.bak "${AUTOJUMP_DATA_DIR}/autojump_py.bak" 2>>/dev/null
|
|
||||||
mv ~/.autojump_errors "${AUTOJUMP_DATA_DIR}/autojump_errors" 2>>/dev/null
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# set paths if necessary for local installations
|
# set paths if necessary for local installations
|
||||||
|
@ -7,9 +7,6 @@ fi
|
|||||||
|
|
||||||
if [[ ! -e ${AUTOJUMP_DATA_DIR} ]]; then
|
if [[ ! -e ${AUTOJUMP_DATA_DIR} ]]; then
|
||||||
mkdir -p "${AUTOJUMP_DATA_DIR}"
|
mkdir -p "${AUTOJUMP_DATA_DIR}"
|
||||||
mv ${HOME}/.autojump_py "${AUTOJUMP_DATA_DIR}/autojump_py" 2>>/dev/null #migration
|
|
||||||
mv ${HOME}/.autojump_py.bak "${AUTOJUMP_DATA_DIR}/autojump_py.bak" 2>>/dev/null
|
|
||||||
mv ${HOME}/.autojump_errors "${AUTOJUMP_DATA_DIR}/autojump_errors" 2>>/dev/null
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# set paths if necessary for local installations
|
# set paths if necessary for local installations
|
||||||
|
Loading…
Reference in New Issue
Block a user