From d3fa78b6b6791dfbd262d6fc8bc814900e4a65a2 Mon Sep 17 00:00:00 2001 From: Siina Mashek Date: Wed, 2 Dec 2020 20:07:05 +0200 Subject: [PATCH] Adding world file to version control --- README.md | 4 ++-- link.sh | 6 ++++-- world | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 67 insertions(+), 4 deletions(-) create mode 100644 world diff --git a/README.md b/README.md index 7cd9a29..100237f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ -# /etc/portage -My /etc/portage files +# Portage config +My `/etc/portage` files as well as `/var/lib/portage/world` diff --git a/link.sh b/link.sh index 63e6fd7..730ee77 100755 --- a/link.sh +++ b/link.sh @@ -4,8 +4,10 @@ files=($(ls $PWD)) dest="/etc/portage/" for file in "${files[@]}"; do - # Ignore link.sh - if [ "$file" != "link.sh" -a "$file" != "LICENSE" -a "$file" != "README.md" ]; then + # Ignore non-portage stuff + if [ "$file" != "link.sh" -a "$file" != "LICENSE" -a "$file" != "README.md" -a "$file" != "world" -a "$file" ]; then ln -sf "$PWD/$file" "$dest" fi + +ln -sf "$PWD/world" "/var/lib/portage/" done diff --git a/world b/world new file mode 100644 index 0000000..89ab6e0 --- /dev/null +++ b/world @@ -0,0 +1,61 @@ +acct-group/plugdev +app-admin/bitwarden-desktop-bin +app-admin/doas +app-admin/metalog +app-editors/vim +app-editors/vscodium +app-emulation/qemu +app-emulation/virt-manager +app-misc/neofetch +app-portage/repoman +dev-lang/elixir +dev-libs/jansson +dev-python/pipenv +dev-vcs/git +games-action/multimc +games-mud/kildclient +games-util/steam-meta +kde-apps/ark +kde-apps/dolphin +kde-apps/kmail +kde-apps/kontact +kde-plasma/kde-gtk-config +kde-plasma/plasma-meta +media-fonts/noto-emoji +media-gfx/gimp +media-gfx/imagemagick +media-gfx/maim +media-sound/alsa-utils +media-sound/spotify +media-tv/v4l-utils +media-video/mpv +net-fs/samba +net-im/dino +net-im/discord-bin +net-im/element-desktop-bin +net-im/slack +net-im/telegram-desktop +net-irc/quassel +net-libs/nodejs +net-misc/kristall +net-misc/nextcloud-client +net-misc/ntp +net-misc/trackma +net-misc/youtube-dl +net-p2p/qbittorrent +net-vpn/protonvpn-cli +sys-apps/hwloc +sys-apps/mlocate +sys-boot/grub +sys-boot/os-prober +sys-fs/dosfstools +sys-fs/ntfs3g +sys-kernel/gentoo-sources +sys-kernel/linux-firmware +sys-process/cronie +sys-process/htop +www-apps/hugo +www-client/firefox-bin +x11-misc/xclip +x11-misc/xsel +x11-terms/alacritty