From 35b6c4846f89a215fed68c477b85b47c4d03ce67 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sun, 2 Jan 2022 20:29:05 -0500 Subject: Remove sudo/doas from install script Now that everything requires root anyway, just run the script as root. --- install.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/install.sh b/install.sh index c3ec75e3..ae440bc7 100644 --- a/install.sh +++ b/install.sh @@ -12,29 +12,29 @@ done packages='curl htop sl the_silver_searcher tree' FreeBSD() { - sudo pkg install ddate $packages + pkg install ddate $packages } OpenBSD() { - doas pkg_add $packages + pkg_add $packages if test $X; then - doas pkg_add firefox go-fonts imv scrot sct w3m-- xcursor-dmz xsel + pkg_add firefox go-fonts imv scrot sct w3m-- xcursor-dmz xsel fi } Linux() { - sudo pacman -Sy --needed bc ctags gdb openssh vi $packages + pacman -Sy --needed bc ctags gdb openssh vi $packages } Darwin() { - sudo /opt/local/bin/port selfupdate - sudo /opt/local/bin/port -N install git mandoc nvi pkgconfig $packages - sudo mkdir -p /opt/local/etc/select/man + port selfupdate + port -N install git mandoc nvi pkgconfig $packages + mkdir -p /opt/local/etc/select/man printf 'bin/man\nshare/man/man1/man.1\nshare/man/man1/man.1.gz\n' \ - | sudo tee /opt/local/etc/select/man/base >/dev/null + >/opt/local/etc/select/man/base printf '/usr/bin/man\n/usr/share/man/man1/man.1\n-\n' \ - | sudo tee /opt/local/etc/select/man/system >/dev/null - sudo port select --set man system + >/opt/local/etc/select/man/system + port select --set man system } $(uname) -- cgit 1.4.1 'qt'>
path: root/2016/src/bin (unfollow)
Commit message (Expand)Author
2020-11-22Day 12, part 2June McEnroe
2020-11-22Day 12June McEnroe
2020-11-22Day 11, part 2June McEnroe
2020-11-22Day 11June McEnroe
2020-11-22Day 10, part 2June McEnroe
2020-11-22Day 10June McEnroe
2020-11-22Day 9, part 2June McEnroe
2020-11-22Day 9June McEnroe
2020-11-22Day 8, part 2June McEnroe
2020-11-22Day 8June McEnroe
2020-11-22Day 7, part 2June McEnroe
2020-11-22Day 7June McEnroe
2020-11-22Day 6, part 2June McEnroe
2020-11-22Day 6June McEnroe
2020-11-22Day 5, part 2June McEnroe
2020-11-22Day 5June McEnroe
2020-11-22Day 4, part 2June McEnroe
2020-11-22Day 4June McEnroe
2020-11-22Day 3, part 2June McEnroe
2020-11-22Day 3, clean upJune McEnroe
2020-11-22Day 3June McEnroe
2020-11-22Day 2, part 2June McEnroe
2020-11-22Day 2June McEnroe
2020-11-22Day 1, part 2June McEnroe
2020-11-22Day 1June McEnroe
2020-11-22Move to 2016 directoryJune McEnroe