Skip to content

Commit

Permalink
Merge pull request #697 from mariux64/add-check-to-systemd-update-script
Browse files Browse the repository at this point in the history
Do not run systemd update script, if update already done
  • Loading branch information
donald authored Mar 29, 2018
2 parents 5725002 + 479a9f2 commit 43ce11e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/update-systemd-from-27-to-238.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ if ! { hostconfig mx64; }; then
exit 1
fi

if { systemd --version 2>&1 1>/dev/null; }; then
echo "systemd 238 is already running. Nothing to do."
exit 0
fi

bee remove sysvinit-2.88dsf-2.x86_64 udev-164-2.x86_64
bee install -f systemd-238-0
bee update -f dbus-1.12.4-0
Expand Down

0 comments on commit 43ce11e

Please sign in to comment.