From 8b5ed6c9f19c5f336c3d828db755f9cb2ee3d6dc Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Tue, 29 Jun 2021 17:41:18 +0900 Subject: [PATCH] Clean: Installer - `autocopy` => `autocp` --- install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index afa661c..1d1e03b 100755 --- a/install.sh +++ b/install.sh @@ -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" }