2 # Copyright (C) 2019 Ian Kelling
3 # SPDX-License-Identifier: AGPL-3.0-or-later
4 # shellcheck source=/a/bin/ds/.bashrc
5 if [[ -s ~
/.bashrc
]];then . ~
/.bashrc
;fi
10 Usage: ${0##*/} [DISTRO_NAME]
11 Print packages to install for each distro.
12 Default DISTRO_NAME is the one currently running.
15 -h|--help Print help and exit.
17 Note: Uses GNU getopt options parsing style
30 debian|trisquel|ubuntu
)
37 temp
=$
(getopt
-l help h
"$@") || usage
1
43 *) echo "$0: Internal error! unexpected args: $*" ; exit 1 ;;
50 # ubuntu 14.04 uses b-cron,
51 # but its not maintained in arch.
52 # of the ones in the main repos, cronie is only one maintained.
53 # fcron appears abandoned software.
56 *) : ;; # other distros come with cron.
61 *) : ;; # other distros come with tk from git
65 arch
) e the_silver_searcher
;;
66 debian|trisquel|ubuntu
) e silversearcher-ag
;;
71 # for debconf-get-selections
79 ###### quit now for li/lj
87 debian
) e gnome-session-flashback
;;
88 # flidas is missing dependency gnome-panel. others unknown
94 # not packaged in flidas. in ubuntu it is in multiverse
104 trisquel|ubuntu|debian
) e nfs-common
;;
108 trisquel|ubuntu|debian
) e par2
;;
109 arch|fedora
) e par2cmdline
;;
112 # for my tex resume. commented, due to t9 gnome causing package version conflict
114 # trisquel|ubuntu|debian) e texlive-full ;;
118 # optional dep for firefox for h.264 video
120 # other distros, probably come by default
124 fedora|trisquel|ubuntu|debian
) e gnupg-agent
;;
130 fedora
) e pinentry-gtk
;;
131 *) : ;; # comes default or with other packages
136 arch
) e ttf-dejavu
;;
137 debian|trisquel|ubuntu
) e fonts-dejavu
;;
144 debian|trisquel|ubuntu
) e x11-utils
;;
150 debian|trisquel|ubuntu
) e genisoimage
;;
155 arch
) e spice-gtk3
;;
156 debian|trisquel|ubuntu
) e spice-client-gtk
;;
161 ### stuff brought in through deps in other distros
164 # for nat networking in libvirt
166 # dmidecode just because syslog complains
168 e
unzip xorg-xmodmap bridge-utils qemu virtviewer apg
175 arch|debian|trisquel|ubuntu
) e pumpa
;;
176 # others unknown. do have a buildscript:
177 # /a/bin/buildscripts/pumpa ;;
181 debian|trisquel|ubuntu
)
195 case $
(debian-codename
) in