From 07c95d298d9406ab51a01e0e8fbed5993727f31e Mon Sep 17 00:00:00 2001 From: bill-auger Date: Tue, 21 May 2019 10:54:11 -0400 Subject: squashme - bug fix --- alpm-hooks/grub-theme-switch.hook | 2 +- bin/set-grub-theme.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/alpm-hooks/grub-theme-switch.hook b/alpm-hooks/grub-theme-switch.hook index d297bd7..04a2fcf 100644 --- a/alpm-hooks/grub-theme-switch.hook +++ b/alpm-hooks/grub-theme-switch.hook @@ -10,5 +10,5 @@ Target = parabola-laf Description = Setting GRUB theme Depends = grub When = PostTransaction -Exec = set-grub-theme.sh +Exec = /usr/bin/set-grub-theme.sh NeedsTargets diff --git a/bin/set-grub-theme.sh b/bin/set-grub-theme.sh index f3f52fe..5774c99 100644 --- a/bin/set-grub-theme.sh +++ b/bin/set-grub-theme.sh @@ -1,6 +1,6 @@ #!/bin/bash -readonly THEME_PKG_OR_DIR=$1 +readonly THEME_PKG_OR_DIR=$1 # or stdin? readonly GRUB_DIR=/boot/grub readonly THEMES_DIR=$GRUB_DIR/themes readonly THEME_FILENAME='theme.txt' -- cgit v1.2.2