mirror of
https://github.com/freifunk-gluon/packages.git
synced 2024-06-15 19:54:07 +02:00
gluon-core: remove support for incremental upgrade scripts
As we don't have any older gluon versions so far, and hope to be able to do all upgrades with invariant scripts, remove the code for now. If we ever see the need to add such upgrade scripts, we can just re-add this.
This commit is contained in:
parent
2a0ed2da48
commit
13f99f1d8c
|
@ -45,17 +45,6 @@ do_component() {
|
||||||
else
|
else
|
||||||
do_dir initial
|
do_dir initial
|
||||||
fi
|
fi
|
||||||
else
|
|
||||||
local v
|
|
||||||
|
|
||||||
for v in *; do
|
|
||||||
[ "$v" != initial -a "$v" != invariant -a "$v" != legacy ] || continue
|
|
||||||
|
|
||||||
# The return value of opkg compare-versions is negated
|
|
||||||
if ! opkg compare-versions "$v" '>>' "$oldversion"; then
|
|
||||||
do_dir "$v"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
do_dir invariant
|
do_dir invariant
|
||||||
|
|
Loading…
Reference in New Issue
Block a user