Tidying
This commit is contained in:
parent
30fb08731e
commit
bf11180c10
|
@ -121,13 +121,8 @@ function enable_mirrors_via_onion {
|
|||
fi
|
||||
}
|
||||
|
||||
function update_installed_apps_repos {
|
||||
INSTALLED_APPS_REPOS=()
|
||||
|
||||
function_check app_is_installed
|
||||
|
||||
function update_installed_single_repo {
|
||||
# only deal with a single app
|
||||
if [ $SYNC_SINGLE_APP ]; then
|
||||
filename=/usr/share/${PROJECT_NAME}/apps/${PROJECT_NAME}-app-${SYNC_SINGLE_APP}
|
||||
if [ ! -f $filename ]; then
|
||||
echo $"The app $SYNC_SINGLE_APP was not found"
|
||||
|
@ -138,6 +133,15 @@ function update_installed_apps_repos {
|
|||
do
|
||||
INSTALLED_APPS_REPOS+=("${line}")
|
||||
done
|
||||
}
|
||||
|
||||
function update_installed_apps_repos {
|
||||
INSTALLED_APPS_REPOS=()
|
||||
|
||||
function_check app_is_installed
|
||||
|
||||
if [ $SYNC_SINGLE_APP ]; then
|
||||
update_installed_single_repo
|
||||
return
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue