Clean: Installer - autocopy => autocp

This commit is contained in:
alstjr7375 2021-06-29 17:41:18 +09:00
parent 9734091e50
commit 8b5ed6c9f1

View file

@ -113,7 +113,7 @@ paths_filter() {
eval "${pathListName}=(\"\${foundedTargets[@]}\")"
}
autocopy() {
autocp() {
local file="${1}"
local target="${2}"
@ -125,7 +125,7 @@ autocopy() {
if [ -e "${target}" ]; then
echo "${target} alreay exist."
echo "Now Backup.."
autocopy "${target}" "${target}.bak"
autocp "${target}" "${target}.bak"
echo ""
fi
@ -538,8 +538,8 @@ copy_lepton() {
fi
for profilePath in "${firefoxProfilePaths[@]}"; do
autocopy "${userJSPath}" "${profilePath}/user.js"
autocopy "${chromeDir}" "${profilePath}/chrome"
autocp "${userJSPath}" "${profilePath}/user.js"
autocp "${chromeDir}" "${profilePath}/chrome"
done
lepton_ok_message "End profile copy"
}