1
0

more cleanup

This commit is contained in:
dtb 2022-06-02 20:16:29 -04:00
parent b65d3b2adf
commit 271b66dad9
7 changed files with 4 additions and 56 deletions

View File

@ -146,6 +146,10 @@ PROGRAMS= \
alpine-programs:
apk add $(PROGRAMS)
arch-doas:
cd dist/doas-sudo
makepkg -si
arch-yay:
git clone "https://aur.archlinux.org/yay.git" || true
cd yay

View File

@ -1,15 +0,0 @@
#!/bin/sh
set -e
CC="$(which cc)"
which tcc >/dev/null
if [ -h "$CC" ]; then
unlink "$CC"
ln -s "$(which tcc)" "$CC"
else
printf "$0: \$(which cc), $(which cc), is not a symbolic link\n" >/dev/stderr
exit 1
fi

View File

@ -1,4 +0,0 @@
cde() {
cd $1
printf "Entered %s.\n" $(pwd)
}

View File

@ -1,12 +0,0 @@
#!/bin/bash
set -e
source ./cdecho.sh
if [ $1 = "arch" ]; then
mkdir -p $HOME/src/doas-sudo
cp PKGBUILD_doas-sudo $HOME/src/doas-sudo/PKGBUILD
cde $HOME/src/doas-sudo
makepkg -si
fi

View File

@ -1,9 +0,0 @@
#!/bin/sh
SIC_C=$HOME/src/sic/sic.c
cp "$SIC_C" ./
sed -e 's/No channel to send to/No channel to which to send./' -e '170s/sic/dsic/' <sic.c >dsic.c
diff sic.c dsic.c
[ "$(printf "No.\nYes.\n" | dmenu -p "Write changes?")" = "Yes." ] && mv "$SIC_C" "$SIC_C".bak && mv dsic.c "$SIC_C"

View File

@ -1,16 +0,0 @@
#!/bin/sh -x
set -e
[ "$(id -u)" = "0" ] \
&& LOCATION="/usr/share/fonts/unscii" \
|| LOCATION="$HOME/.fonts"
mkdir -p "$LOCATION"
curl "http://viznut.fi/unscii/unscii-16-full.otf" \
>"$LOCATION/unscii-16-full.otf"
curl "http://viznut.fi/unscii/unscii-16-full.pcf" \
>"$LOCATION/unscii-16-full.pcf"
curl "http://viznut.fi/unscii/unscii-16-full.ttf" \
>"$LOCATION/unscii-16-full.ttf"