From 4857ea8947e8b0cea22170b9bbd07b0e6ae98d9d Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Fri, 26 Dec 2025 16:58:13 -0500 Subject: age-plugin-se, fonts, and further minor tweaks to fedora script --- compile/age-plugin-se.sh | 19 +++++++++++++++++++ distro/fedora.sh | 3 +++ fonts.sh | 5 +++++ 3 files changed, 27 insertions(+) create mode 100755 compile/age-plugin-se.sh create mode 100755 fonts.sh 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 - diff --git a/distro/fedora.sh b/distro/fedora.sh index 56b7d57..7ed018b 100755 --- a/distro/fedora.sh +++ b/distro/fedora.sh @@ -14,6 +14,9 @@ yum -y install \ NetworkManager-tui \ ShellCheck \ age \ + cargo \ + pcsc-lite-devel \ + swift-lang \ ansible \ arandr \ bear \ diff --git a/fonts.sh b/fonts.sh new file mode 100755 index 0000000..d6b95aa --- /dev/null +++ b/fonts.sh @@ -0,0 +1,5 @@ +#!/bin/sh +_fontdir=~/.local/share/fonts +if ! [ -d "$_fontdir" ] ; then + git clone https://git.riedstra.dev/mitch/fonts "$_fontdir" +fi -- cgit v1.2.3