Unverified Commit 1f152941 authored by K900's avatar K900 Committed by GitHub
Browse files

steam-unwrapped: 1.0.0.81 -> 1.0.0.82 (#377239)

parents 06d19368 2984b9fc
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
diff --git a/bin_steam.sh b/bin_steam.sh
index 49f9d8a..48f4379 100755
--- a/bin_steam.sh
+++ b/bin_steam.sh
@@ -297,7 +297,7 @@ fi
 # Leave a copy of the bootstrap tarball in ~/.steam so that Steam can
 # re-bootstrap itself if required
 if ! cmp -s "$LAUNCHSTEAMBOOTSTRAPFILE" "$LAUNCHSTEAMDIR/bootstrap.tar.xz"; then
-    cp "$LAUNCHSTEAMBOOTSTRAPFILE" "$LAUNCHSTEAMDIR/bootstrap.tar.xz"
+    cp -f "$LAUNCHSTEAMBOOTSTRAPFILE" "$LAUNCHSTEAMDIR/bootstrap.tar.xz"
 fi
 
 # go to the install directory and run the client
+9 −2
Original line number Diff line number Diff line
@@ -7,14 +7,21 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "steam-unwrapped";
  version = "1.0.0.81";
  version = "1.0.0.82";

  src = fetchurl {
    # use archive url so the tarball doesn't 404 on a new release
    url = "https://repo.steampowered.com/steam/archive/stable/steam_${finalAttrs.version}.tar.gz";
    hash = "sha256-Gia5182s4J4E3Ia1EeC5kjJX9mSltsr+b+1eRtEXtPk=";
    hash = "sha256-r6Lx3WJx/StkW6MLjzq0Cv02VONUJBoxy9UQAPfm/Hc=";
  };

  patches = [
    # We copy the bootstrap file from the store, where it's read-only,
    # so future attempts to update it with bare "cp" will fail.
    # So, use "cp -f" to force an overwrite.
    ./force-overwrite-bootstrap.patch
  ];

  makeFlags = [
    "DESTDIR=$(out)"
    "PREFIX="