mirror of
https://codeberg.org/scip/jaildk.git
synced 2025-12-16 20:21:05 +01:00
forgot update -f check
This commit is contained in:
2
jaildk
2
jaildk
@@ -1753,7 +1753,7 @@ jaildk_update() {
|
||||
|
||||
gitversion=$(egrep "^version=" $j/git/jaildk/jaildk | head -1 | cut -d= -f2)
|
||||
if test -n "$gitversion"; then
|
||||
if test 1 -eq $(echo "$gitversion > $version" | bc); then
|
||||
if test 1 -eq $(echo "$gitversion > $version" | bc) -o -n "$force"; then
|
||||
echo "Updating jaildk from $version to version $gitversion..."
|
||||
ex install -o root -g wheel $j/git/jaildk/jaildk $j/bin/jaildk || die "Failed to update self!"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user