mirror of
https://github.com/Antynea/grub-btrfs.git
synced 2026-03-09 16:04:32 +08:00
grub-btrfsd: Fix non POSIX redirect
Squashed commit of the following: commitd75feb59f4Author: Pascal J <pascal.jaeger@leimstift.de> Date: Sun Dec 4 22:07:01 2022 +0100 grub-btrsd: update shebang commita64379789cAuthor: Pavin Joseph <pavinjosdev@gmail.com> Date: Sun Dec 4 22:52:31 2022 +0530 Update grub-btrfsd commitfe42568785Author: Pavin Joseph <pavinjosdev@gmail.com> Date: Sun Dec 4 04:07:05 2022 +0530 Update grub-btrfsd Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
This commit is contained in:
2
config
2
config
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
GRUB_BTRFS_VERSION=4.12-master-2022-11-26T16:59:38+00:00
|
||||
GRUB_BTRFS_VERSION=4.12-master-2022-12-04T21:11:00+00:00
|
||||
|
||||
# Disable grub-btrfs.
|
||||
# Default: "false"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/env sh
|
||||
# Copyright 2022 Pascal Jaeger
|
||||
# Distributed under the terms of the GNU General Public License v3
|
||||
# Update GRUB when new BTRFS snapshots are created.
|
||||
@@ -158,7 +158,7 @@ shift $(( OPTIND - 1 ))
|
||||
snapshots="${1}"
|
||||
|
||||
# check if inotify exists, see issue #227
|
||||
if ! command -v inotifywait &> /dev/null; then
|
||||
if ! command -v inotifywait >/dev/null 2>&1; then
|
||||
err "[!] inotifywait was not found, exiting. Is inotify-tools installed?" "${RED}" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user