mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Fix tests without install
This commit is contained in:
parent
372c0a14c0
commit
abcdef95d5
1 changed files with 5 additions and 2 deletions
|
@ -525,7 +525,8 @@ is_install_failed () {
|
||||||
if [ $setup_sub_dir -ne 0 ]
|
if [ $setup_sub_dir -ne 0 ]
|
||||||
then
|
then
|
||||||
# If a test succeed or if force_install_ok is set
|
# If a test succeed or if force_install_ok is set
|
||||||
if [ $RESULT_check_sub_dir -eq 1 ] || [ $force_install_ok -eq 1 ]
|
# Or if $setup_sub_dir isn't set in the check_process
|
||||||
|
if [ $RESULT_check_sub_dir -eq 1 ] || [ $force_install_ok -eq 1 ] || [ $setup_sub_dir -eq -1 ]
|
||||||
then
|
then
|
||||||
# Validate installation in sub dir.
|
# Validate installation in sub dir.
|
||||||
sub_dir_install=1
|
sub_dir_install=1
|
||||||
|
@ -535,10 +536,12 @@ is_install_failed () {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If the test for install on root isn't desactivated
|
# If the test for install on root isn't desactivated
|
||||||
|
|
||||||
if [ $setup_root -ne 0 ] || [ $setup_nourl -eq 1 ]
|
if [ $setup_root -ne 0 ] || [ $setup_nourl -eq 1 ]
|
||||||
then
|
then
|
||||||
# If a test succeed or if force_install_ok is set
|
# If a test succeed or if force_install_ok is set
|
||||||
if [ $RESULT_check_root -eq 1 ] || [ $force_install_ok -eq 1 ]
|
# Or if $setup_root isn't set in the check_process
|
||||||
|
if [ $RESULT_check_root -eq 1 ] || [ $force_install_ok -eq 1 ] || [ $setup_root -eq -1 ]
|
||||||
then
|
then
|
||||||
# Validate installation on root.
|
# Validate installation on root.
|
||||||
root_install=1
|
root_install=1
|
||||||
|
|
Loading…
Add table
Reference in a new issue