diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2025-12-26 16:58:13 -0500 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2025-12-26 16:58:13 -0500 |
| commit | 4857ea8947e8b0cea22170b9bbd07b0e6ae98d9d (patch) | |
| tree | d83209f9095040b30f35d1e55cf3c79dfc045743 /compile/age-plugin-se.sh | |
| parent | 2b5545d6278036a7d959df982f2260b3faa85808 (diff) | |
| download | dotfiles-4857ea8947e8b0cea22170b9bbd07b0e6ae98d9d.tar.gz dotfiles-4857ea8947e8b0cea22170b9bbd07b0e6ae98d9d.tar.xz | |
age-plugin-se, fonts, and further minor tweaks to fedora script
Diffstat (limited to 'compile/age-plugin-se.sh')
| -rwxr-xr-x | compile/age-plugin-se.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/compile/age-plugin-se.sh b/compile/age-plugin-se.sh new file mode 100755 index 0000000..a3b54a0 --- /dev/null +++ b/compile/age-plugin-se.sh @@ -0,0 +1,19 @@ +#!/bin/sh +# Plugin required to send to SE keys... +# On Fedora... +# sudo dnf install swift-lang +if [ "$(id -u)" -eq 0 ] ; then + echo "Run as a regular user" + exit 1 +fi +set -ex +codedir="${CODEDIR:-$HOME/scm}" +prefix="${PREFIX:-$HOME/.local}" +plugindir="${codedir}/age-plugin-se" +if ! [ -d "$plugindir" ] ; then + git clone https://github.com/remko/age-plugin-se "$plugindir" +fi +cd "$plugindir" +make +make PREFIX="$prefix" install +cd - |
