diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2021-11-16 11:16:26 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2021-11-16 11:18:02 +1300 |
commit | fa60cf7bb456783dec1cae670126996f2ff33e5c (patch) | |
tree | 4c23baed79d15d4aa6e4a97c0941e7b9bf1cbc3b | |
parent | Ignore a file inclusion warning (diff) | |
download | dotfiles-fa60cf7bb456783dec1cae670126996f2ff33e5c.tar.gz dotfiles-fa60cf7bb456783dec1cae670126996f2ff33e5c.zip |
Remove actual plmu program
I removed the manual page in 0703204, but didn't actually remove the
program...
-rwxr-xr-x | bin/plmu | 28 |
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 |