diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2019-05-21 10:54:11 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2019-06-08 13:25:50 -0400 |
commit | 07c95d298d9406ab51a01e0e8fbed5993727f31e (patch) | |
tree | e940ba1406cb7c2d1a40e5f23c33215da43041fd | |
parent | 840c4e5224122675ebd8e2dbc4068fa3563737f3 (diff) |
squashme - bug fixgrub-theme-switch
-rw-r--r-- | alpm-hooks/grub-theme-switch.hook | 2 | ||||
-rw-r--r-- | 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' |