diff --git a/PKGBUILD/steamfork-customizations-jupiter/PKGBUILD b/PKGBUILD/steamfork-customizations-jupiter/PKGBUILD index 3760333c..6d2d21a3 100644 --- a/PKGBUILD/steamfork-customizations-jupiter/PKGBUILD +++ b/PKGBUILD/steamfork-customizations-jupiter/PKGBUILD @@ -2,7 +2,7 @@ pkgname=steamfork-customizations-jupiter pkgver=2024.07.10 -pkgrel=1 +pkgrel=2 pkgdesc='SteamFork customizations provider.' arch=('any') url='http://www.steamfork.org' diff --git a/PKGBUILD/steamfork-customizations-jupiter/src/usr/bin/steamfork-postupdate-mgmt b/PKGBUILD/steamfork-customizations-jupiter/src/usr/bin/steamfork-postupdate-mgmt index f87f6cbf..2ce98ccb 100755 --- a/PKGBUILD/steamfork-customizations-jupiter/src/usr/bin/steamfork-postupdate-mgmt +++ b/PKGBUILD/steamfork-customizations-jupiter/src/usr/bin/steamfork-postupdate-mgmt @@ -1,9 +1,10 @@ #!/bin/bash +UPDATE_STAMP="/etc/post-update.last" source /etc/os-release -if [ -e "/etc/post-update" ] +if [ -e "${UPDATE_STAMP}" ] then - LAST_UPDATE=$(cat /etc/post-update) + LAST_UPDATE="$(cat ${UPDATE_STAMP})" fi if [ ! "${LAST_UPDATE}" = "${BUILD_ID}" ] @@ -17,5 +18,6 @@ then done fi steamos-readonly enable >>/var/log/update.log 2>&1 + echo "${BUILD_ID}" >${UPDATE_STAMP} fi exit 0