A suggestion for an additional confirmation step in "makesb" script
Posted: 03 May 2016, 16:58
A suggestion for an additional confirmation step in "makesb" script:
example:
[root@alphaos ~]# makesb base-devel
==> Downloading base-devel
:: There are 26 members in group base-devel:
:: Repository obarun
1) util-linux-nosystemd
:: Repository core
2) autoconf 3) automake 4) binutils 5) bison 6) fakeroot
7) file 8) findutils 9) flex 10) gawk 11) gcc 12) gettext
13) grep 14) groff 15) gzip 16) libtool 17) m4 18) make
19) pacman 20) patch 21) pkg-config 22) sed 23) sudo
24) texinfo 25) util-linux 26) which
Enter a selection (default=all):
resolving dependencies...
warning: dependency cycle detected:
warning: eudev-obarun will be installed before its util-linux-nosystemd dependency
warning: dependency cycle detected:
warning: uuidd-runitserv will be installed before its util-linux-nosystemd dependency
Packages (35) archlinux-keyring-20150605-1 eudev-obarun-3.1.5-1
gc-7.4.2-2 guile-2.0.11-2 libmpc-1.0.3-1
libsystemd-224-1 libunistring-0.9.6-1
perl-5.22.0-1 uuidd-runitserv-0.1-3
autoconf-2.69-2 automake-1.15-1 binutils-2.25.1-3
bison-3.0.4-1 fakeroot-1.20.2-1 file-5.24-1
findutils-4.4.2-6 flex-2.5.39-1 gawk-4.1.3-1
gcc-5.2.0-2 gettext-0.19.5-1 grep-2.21-2
groff-1.22.3-3 gzip-1.6-1 libtool-2.4.6-3
m4-1.4.17-1 make-4.1-1 pacman-4.2.1-2
patch-2.7.5-1 pkg-config-0.28-2 sed-4.2.2-3
sudo-1.8.14.p3-2 texinfo-5.2-3
util-linux-2.26.2-1 util-linux-nosystemd-2.28-1
which-2.21-1
Total Download Size: 63.34 MiB
:: Proceed with download? [Y/n]
This step is always a YES, it would be good to have the optional steps.
example:
[root@alphaos ~]# makesb base-devel
==> Downloading base-devel
:: There are 26 members in group base-devel:
:: Repository obarun
1) util-linux-nosystemd
:: Repository core
2) autoconf 3) automake 4) binutils 5) bison 6) fakeroot
7) file 8) findutils 9) flex 10) gawk 11) gcc 12) gettext
13) grep 14) groff 15) gzip 16) libtool 17) m4 18) make
19) pacman 20) patch 21) pkg-config 22) sed 23) sudo
24) texinfo 25) util-linux 26) which
Enter a selection (default=all):
resolving dependencies...
warning: dependency cycle detected:
warning: eudev-obarun will be installed before its util-linux-nosystemd dependency
warning: dependency cycle detected:
warning: uuidd-runitserv will be installed before its util-linux-nosystemd dependency
Packages (35) archlinux-keyring-20150605-1 eudev-obarun-3.1.5-1
gc-7.4.2-2 guile-2.0.11-2 libmpc-1.0.3-1
libsystemd-224-1 libunistring-0.9.6-1
perl-5.22.0-1 uuidd-runitserv-0.1-3
autoconf-2.69-2 automake-1.15-1 binutils-2.25.1-3
bison-3.0.4-1 fakeroot-1.20.2-1 file-5.24-1
findutils-4.4.2-6 flex-2.5.39-1 gawk-4.1.3-1
gcc-5.2.0-2 gettext-0.19.5-1 grep-2.21-2
groff-1.22.3-3 gzip-1.6-1 libtool-2.4.6-3
m4-1.4.17-1 make-4.1-1 pacman-4.2.1-2
patch-2.7.5-1 pkg-config-0.28-2 sed-4.2.2-3
sudo-1.8.14.p3-2 texinfo-5.2-3
util-linux-2.26.2-1 util-linux-nosystemd-2.28-1
which-2.21-1
Total Download Size: 63.34 MiB
:: Proceed with download? [Y/n]
This step is always a YES, it would be good to have the optional steps.