mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Fix multiple upgrade_from
This commit is contained in:
parent
abcdef95d5
commit
b1fba7ec21
1 changed files with 5 additions and 2 deletions
|
@ -1146,8 +1146,11 @@ then
|
||||||
then
|
then
|
||||||
# Add the commit to the upgrade list
|
# Add the commit to the upgrade list
|
||||||
line="${line##*from_commit=}"
|
line="${line##*from_commit=}"
|
||||||
|
# Add the upgrade to the list only if the test is set to 1
|
||||||
|
if [ $temp_upgrade -eq 1 ]; then
|
||||||
echo "$line" >> "$script_dir/upgrade_list"
|
echo "$line" >> "$script_dir/upgrade_list"
|
||||||
else
|
fi
|
||||||
|
elif [ $temp_upgrade -eq 1 ]; then
|
||||||
# Or simply 'current' for a standard upgrade.
|
# Or simply 'current' for a standard upgrade.
|
||||||
echo "current" >> "$script_dir/upgrade_list"
|
echo "current" >> "$script_dir/upgrade_list"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue