aboutsummaryrefslogtreecommitdiff
path: root/bin/plmu
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2021-11-16 11:18:53 +1300
committerTom Ryder <tom@sanctum.geek.nz>2021-11-16 11:18:53 +1300
commit395b3f0b8587c7328fdb6a336ccda986e2d0645f (patch)
treea3d26174f0021e9d3e1bf14c4506873dc0fc219e /bin/plmu
parentMerge branch 'release/v11.8.0' (diff)
parentBump VERSION (diff)
downloaddotfiles-11.9.0.tar.gz (sig)
dotfiles-11.9.0.zip
Merge branch 'release/v11.9.0'v11.9.0
* release/v11.9.0: Remove actual plmu program Ignore a file inclusion warning Ignore SC2296 for a subtlety of ksh93 Use consistent punctuation in vimrc comments Switch to newsboat-dtach system service method Revert "Add a basic system-wide push-to-talk" Add a basic system-wide push-to-talk Correct mis-escaped dollar sign in scrot script Add hour/minute/second timestamp to scrot files Restore title bars to i3 windows Revert "Remove i3 workspace labels for now" Switch to lossless WEBP (converted) for scrots
Diffstat (limited to 'bin/plmu')
-rwxr-xr-xbin/plmu28
1 files changed, 0 insertions, 28 deletions
diff --git a/bin/plmu b/bin/plmu
deleted file mode 100755
index bac2e434..00000000
--- a/bin/plmu
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-# Upgrade plenv modules with cpanm(1)
-
-# Set up exceptions file if it exists
-def="$HOME"/.plenv/non-cpanm-modules
-if [ -e "$def" ] ; then
- ef=$def
-else
- ef=/dev/null
-fi
-
-# Check that exceptions file is sorted
-if ! LC_COLLATE=C sort -c -- "$ef" ; then
- printf >&2 '%s not sorted\n' "$ef"
- exit 1
-fi
-
-# Get the list of modules; sort them in case our current locale disagrees on
-# the existing sorting
-plenv list-modules | LC_COLLATE=C sort |
-
-# Exclude any modules in ~/.plenv/non-cpanm-modules if it exists
-LC_COLLATE=C comm -23 -- - "$ef" |
-
-# Read that list of modules to upgrade and upgrade them one by one
-while read -r module ; do
- cpanm --notest --quiet -- "$module"
-done