# NetBSD post-installation script via pkgin <https://pkgin.net/>.
# NetBSD post-installation script via pkgin <https://pkgin.net/>.
#
#
# DETAILS
# DETAILS
@ -20,7 +18,7 @@
echo'NEETBSD'&&echo'UNFINISHED SCRIPT DO NOT USE'# DEV
echo'NEETBSD'&&echo'<!!!> UNFINISHED SCRIPT DO NOT USE'# DEV warning
# SOFTWARE INSTALLATION
# SOFTWARE INSTALLATION
@ -29,19 +27,36 @@ echo 'Installing software for NEETBSD'
# BINARY PACKAGES via pkgin
# BINARY PACKAGES via pkgin
echo'Installing binary packages via the root user using su'
echo'Installing binary packages via the root user using su'
echo'This operation might take a long moment to complete!!'
echo'This operation might take a long moment to complete!!'
su root 'pkgin install enlightenment firefox-esr xfe grafx2 dillo mumble psi kvirc lxqt-archiver stalonetray htop mc ncdu ufetch wget'# FIX-ME: uncertain packages are left out - xine/mpv(?) and [xterm](terminology) # <!!!> ncdu is ambiguous
su root -c 'pkgin install enlightenment firefox-esr xfe grafx2 dillo mumble psi kvirc lxqt-archiver stalonetray htop mc ncdu ufetch wget'# FIX-ME: uncertain packages are left out - xine/mpv(?) and [xterm](terminology) # <!!!> ncdu is ambiguous
# COMPILATION via various utilities
# COMPILATION via various utilities
echo'Software compilation - this operation should be rapid'
echo'Software compilation - this operation should be rapid'
echo'Compiling xdiskusage'
# Is it installed? `command -v` is +/- equivalent to `which`
# TO-DO
if[ -x "$(command -v xdiskusage)"];then
# = CHECK IF ALREADY INSTALLED VIA which
echo'xdiskusage is already installed.'
# CHECK VERSION VIA curl https://xdiskusage.sourceforge.net/ | grep '1.60'
else
# su to pkgin install fltk-1.3.9, wget, tar, change line where there's
echo'Compiling xdiskusage'
# FreeBSD to also include NetBSD, ./configure && make CPPFLAGS=
echo'<!!!> xdiskusage version 1.60 - please check if this is the latest!'
# -I/usr/pkg/include [+ other arg to include X11 /usr/X11R7/include] && su