mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-01-30 04:10:32 -08:00
Fix: Installer - Update feature
This commit is contained in:
parent
15c3a3777e
commit
271129013b
1 changed files with 5 additions and 5 deletions
10
install.sh
10
install.sh
|
|
@ -129,7 +129,7 @@ autocopy() {
|
|||
echo ""
|
||||
fi
|
||||
|
||||
cp -rv "${file}" "${target}"
|
||||
cp -rf "${file}" "${target}"
|
||||
}
|
||||
|
||||
automv() {
|
||||
|
|
@ -148,7 +148,7 @@ automv() {
|
|||
echo ""
|
||||
fi
|
||||
|
||||
mv -v "${file}" "${target}"
|
||||
mv -f "${file}" "${target}"
|
||||
}
|
||||
|
||||
autorestore() {
|
||||
|
|
@ -156,9 +156,9 @@ autorestore() {
|
|||
local target="${file}.bak"
|
||||
|
||||
if [ -e "${file}" ]; then
|
||||
rm -rv "${file}"
|
||||
rm -rf "${file}"
|
||||
fi
|
||||
mv -v "${target}" "${file}"
|
||||
mv -f "${target}" "${file}"
|
||||
|
||||
local lookupTarget="${target}.bak"
|
||||
if [ -e "${lookupTarget}" ]; then
|
||||
|
|
@ -509,7 +509,7 @@ check_chrome_restore() {
|
|||
|
||||
clean_lepton() {
|
||||
if [ ! "${chromeDuplicate}" == "true" ]; then
|
||||
rm -rv chrome
|
||||
rm -rf chrome
|
||||
fi
|
||||
lepton_ok_message "End clean files"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue