mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-06 02:30:54 -08:00
Fix: Installer - clean_lepton #135
This commit is contained in:
parent
c99098eea5
commit
396d8646b1
2 changed files with 3 additions and 3 deletions
|
|
@ -647,8 +647,8 @@ function Check-ChromeRestore() {
|
|||
}
|
||||
|
||||
function Clean-Lepton() {
|
||||
if ( $chromeDuplicate -ne $true ) {
|
||||
Remove-Item "chrome" -Recurse -Force
|
||||
if ( ($chromeDuplicate -ne $true) -and (Test-Path -Path "chrome") ) {
|
||||
Remove-Item -Path "chrome" -Recurse -Force
|
||||
}
|
||||
Lepton-OkMessage "End clean files"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -625,7 +625,7 @@ check_chrome_restore() {
|
|||
}
|
||||
|
||||
clean_lepton() {
|
||||
if [ ! "${chromeDuplicate}" == "true" ]; then
|
||||
if [ ! "${chromeDuplicate}" == "true" ] && [ -e "chrome" ]; then
|
||||
rm -rf chrome
|
||||
fi
|
||||
lepton_ok_message "End clean files"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue