diff options
author | axtlos <axtlos@tar.black> | 2022-07-01 17:07:44 +0200 |
---|---|---|
committer | axtlos <axtlos@tar.black> | 2022-07-01 17:07:44 +0200 |
commit | c3bd7cb490a184db660613e0d516351a9ebefae7 (patch) | |
tree | 84ee9e64f0c63f8643ef8e7bf26bf79b2b51e082 /com.rodsbooks.refind/refind-run | |
parent | 6daf7e23da3bdcd387153f0545643e9ac4a96850 (diff) | |
download | flatpaks-c3bd7cb490a184db660613e0d516351a9ebefae7.tar.gz flatpaks-c3bd7cb490a184db660613e0d516351a9ebefae7.tar.bz2 |
add refind
Diffstat (limited to 'com.rodsbooks.refind/refind-run')
-rwxr-xr-x | com.rodsbooks.refind/refind-run | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/com.rodsbooks.refind/refind-run b/com.rodsbooks.refind/refind-run new file mode 100755 index 0000000..2a43352 --- /dev/null +++ b/com.rodsbooks.refind/refind-run @@ -0,0 +1,15 @@ +#!/usr/bin/bash +if [[ $1 == "install" ]]; then + mkdir ~/refind-install + cp -r /app ~/refind-install/. + cd ~/refind-install/. + sed -i "s|* RefindDir=*| RefindDir=\"${HOME}/refind-install/app/refind\"|" app/bin/refind-install + flatpak-spawn --host pkexec app/bin/refind-install +elif [[ $1 == "mkdefault" ]]; then + /app/bin/refind-mkdefault +elif [[ $1 == "mkrlconf" ]]; then + /app/bin/mkrlconf +elif [[ $1 == "mvrefind" ]]; then + /app/bin/mvrefind +fi + |