From 84df97ccf25dc6af05be799ffc1038a88db24654 Mon Sep 17 00:00:00 2001 From: jjanzen Date: Thu, 13 Mar 2025 18:22:22 -0500 Subject: system changes --- macos.local/flake/home/scripts/manage-system.org | 47 ------------------------ macos.local/flake/home/scripts/yt-to-rss.org | 2 +- 2 files changed, 1 insertion(+), 48 deletions(-) delete mode 100644 macos.local/flake/home/scripts/manage-system.org (limited to 'macos.local/flake') diff --git a/macos.local/flake/home/scripts/manage-system.org b/macos.local/flake/home/scripts/manage-system.org deleted file mode 100644 index e8da0d9..0000000 --- a/macos.local/flake/home/scripts/manage-system.org +++ /dev/null @@ -1,47 +0,0 @@ -#+title: System Management Script - -#+begin_src sh - #!/bin/sh - - usage () - { - echo "Usage: $0 [command] where command is one of" - echo "help - show this message and exit" - echo "backup - push the configuration to the remote" - echo "update - update the system" - echo "install - install the system configurations" - } - - [ "$#" -eq 0 ] && usage && exit 1 - - dir="$pwd" - cd ~/.dotfiles || exit 1 - - case "$1" in - help) - usage - cd "$dir" || exit 1 - exit 0 - ;; - backup) - git push - cd "$dir" || exit 1 - exit 0 - ;; - update) - make update - cd "$dir" || exit 1 - exit 0 - ;; - install) - make install - cd "$dir" || exit 1 - exit 0 - ;; - ,*) - usage - cd "$dir" || exit 1 - exit 1 - ;; - esac -#+end_src diff --git a/macos.local/flake/home/scripts/yt-to-rss.org b/macos.local/flake/home/scripts/yt-to-rss.org index 99d975a..afe31da 100644 --- a/macos.local/flake/home/scripts/yt-to-rss.org +++ b/macos.local/flake/home/scripts/yt-to-rss.org @@ -4,5 +4,5 @@ Quick script to get the RSS link for a YouTube channel so I don't have to visit #+begin_src sh #!/bin/sh - curl "$1" 2> /dev/null | pup 'link[title="RSS"] attr{href}' + /usr/bin/curl "$1" 2> /dev/null | /usr/bin/env pup 'link[title="RSS"] attr{href}' #+end_src -- cgit v1.2.3