SHA256
5
0
forked from pool/yadm
Files
yadm/yadm-fix-shebangs.patch
Nicolas FORMICHELLA 6163d35a5d Accepting request 1232822 from home:amanzini:branches:utilities
- Update to version 3.3.0:
  * Rewrite default template to handle nested ifs, != and env vars in if
  * Replace deprecated "pipes" with "shlex"
  * Use man.REAL
  * Update to shields.io new API

OBS-URL: https://build.opensuse.org/request/show/1232822
OBS-URL: https://build.opensuse.org/package/show/utilities/yadm?expand=0&rev=12
2025-01-01 10:26:33 +00:00

64 lines
2.1 KiB
Diff

Index: yadm-3.3.0/contrib/commands/yadm-untracked
===================================================================
--- yadm-3.3.0.orig/contrib/commands/yadm-untracked
+++ yadm-3.3.0/contrib/commands/yadm-untracked
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/usr/bin/bash
# To run: `yadm-untracked <config-file>`
#
Index: yadm-3.3.0/contrib/hooks/encrypt_with_checksums/post_encrypt
===================================================================
--- yadm-3.3.0.orig/contrib/hooks/encrypt_with_checksums/post_encrypt
+++ yadm-3.3.0/contrib/hooks/encrypt_with_checksums/post_encrypt
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/usr/bin/bash
# yadm - Yet Another Dotfiles Manager
# Copyright (C) 2015-2021 Tim Byrne and Martin Zuther
Index: yadm-3.3.0/contrib/hooks/encrypt_with_checksums/post_list
===================================================================
--- yadm-3.3.0.orig/contrib/hooks/encrypt_with_checksums/post_list
+++ yadm-3.3.0/contrib/hooks/encrypt_with_checksums/post_list
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/usr/bin/bash
# yadm - Yet Another Dotfiles Manager
# Copyright (C) 2015-2021 Tim Byrne and Martin Zuther
Index: yadm-3.3.0/contrib/hooks/encrypt_with_checksums/post_status
===================================================================
--- yadm-3.3.0.orig/contrib/hooks/encrypt_with_checksums/post_status
+++ yadm-3.3.0/contrib/hooks/encrypt_with_checksums/post_status
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/usr/bin/bash
# yadm - Yet Another Dotfiles Manager
# Copyright (C) 2015-2021 Tim Byrne and Martin Zuther
Index: yadm-3.3.0/yadm
===================================================================
--- yadm-3.3.0.orig/yadm
+++ yadm-3.3.0/yadm
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/bash
# yadm - Yet Another Dotfiles Manager
# Copyright (C) 2015-2024 Tim Byrne
@@ -17,9 +17,9 @@
# shellcheck shell=bash
# execute script with bash (shebang line is /bin/sh for portability)
-if [ -z "$BASH_VERSION" ]; then
- [ "$YADM_TEST" != 1 ] && exec bash "$0" "$@"
-fi
+#if [ -z "$BASH_VERSION" ]; then
+# [ "$YADM_TEST" != 1 ] && exec bash "$0" "$@"
+#fi
VERSION=3.3.0