Browse Source

OctoPkgin here to save the day

master
fiorile 1 week ago
parent
commit
9a4b670cd3
  1. 40
      neetbsd.sh

40
neetbsd.sh

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
# NEETBSD packages: enlightenment firefox-esr xfe grafx2 mpv dillo mumble
# qbittorrent psi kvirc lxqt-archiver stalonetray eterm
# nano htop mc ncdu ufetch wget
# NEETBSD extras: neetpkg.sh (graphical package manager)
#
# LICENSE
#
@ -31,6 +30,7 @@ su root -c 'pkgin -y install enlightenment firefox-esr xfe grafx2 mpv dillo mumb @@ -31,6 +30,7 @@ su root -c 'pkgin -y install enlightenment firefox-esr xfe grafx2 mpv dillo mumb
# COMPILATION via various utilities
echo 'Software compilation - this operation should be rapid'
# TO-DO: make OctoPkgin <https://github.com/aarnt/octopkgin>
# Is it installed? `command -v` is +/- equivalent to `which`
if [ -x "$(command -v xdiskusage)" ]; then
echo 'xdiskusage is already installed.'
@ -78,42 +78,4 @@ rm ~/.xinitrc.tmp # Erase the temporary xinitrc @@ -78,42 +78,4 @@ rm ~/.xinitrc.tmp # Erase the temporary xinitrc
echo 'CONFIGURATION FINISHED'
# NEETBSD EXTRAS
# neetpkg.sh
echo 'Installing the graphical package manager neetpkg'
# TO-DO - see <https://pkgin.net/#usage>:
# <!!!> - `full-upgrade` is deprecated!!!
# Using xmessage (msg+menu), xedit (lists), and xterm (text input)
#
# 1. [Update] (`up/upgrade`)
# 2. [Upgrade] (`ug/upgrade`)
# 3. [List available packages] (`av/avail`)
# 4. [List installed packages] (`ls/list`)
# 5. [List packages from a category] (`sc/show-category`)
# 6. [Search] (`se/search`)
# 7. [Install] (`in/install`, regex-capable, approval (`-y`) implied)
# 8. [Remove] (`rm/remove` rm pkg + reverse deps = direct + ind. deps)
# 9. [Remove orphan packages] (`ar/autoremove`)
# 10. Etc.
# a. [Stastistic] (`st/stats`)
# b. [List categories] (`sac/show-all-categories`)
# c. [Entire description] (`pd/pkg-descr`)
# d. [Package content] (`pc/pkg-content`)
# e. [Which package provides this program] (`prov/provides`)
# f. [Which package requires this library] (`req/requires`)
# g. [Show direct dependencies] (`sd/show-deps`)
# h. [Show all dependencies] (`sfd/show-full-deps`)
# i. [Erase cache] (`cl/clean`)
###DEV###
echo '#!/bin/sh
#...' > /tmp/dev-neetpkg.sh
chmod +x /tmp/neetpkg.sh
ls -l /tmp/neetpkg-sh
rm /tmp/dev-neetpkg-sh
###DEV###
echo 'Great, neetpkg is now installed!'
echo 'NEETBSD installation finished. Enjoy!'
Loading…
Cancel
Save