summaryrefslogtreecommitdiffstats
path: root/scripts/updatesync
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/updatesync')
-rwxr-xr-xscripts/updatesync22
1 files changed, 11 insertions, 11 deletions
diff --git a/scripts/updatesync b/scripts/updatesync
index 943af8a5..10614d5b 100755
--- a/scripts/updatesync
+++ b/scripts/updatesync
@@ -103,17 +103,6 @@ db_write_entry()
done
echo "" >>desc
fi
- if [ ${#replaces[*]} -gt 0 ]; then
- echo "%REPLACES%" >>desc
- for it in "${replaces[@]}"; do
- echo "$it" >>desc
- done
- echo "" >>desc
- fi
- if [ "$force" = "y" -o "$force" = "Y" ]; then
- echo "%FORCE%" >>desc
- echo "" >>desc
- fi
# depends
: >depends
if [ ${#depends[*]} -gt 0 ]; then
@@ -137,6 +126,17 @@ db_write_entry()
done
echo "" >>depends
fi
+ if [ ${#replaces[*]} -gt 0 ]; then
+ echo "%REPLACES%" >>depends
+ for it in "${replaces[@]}"; do
+ echo "$it" >>depends
+ done
+ echo "" >>depends
+ fi
+ if [ "$force" = "y" -o "$force" = "Y" ]; then
+ echo "%FORCE%" >>depends
+ echo "" >>depends
+ fi
}
delete_entry()