diff options
author | Karel Kočí <cynerd@email.cz> | 2016-12-28 16:37:18 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2016-12-28 16:37:18 +0100 |
commit | 64e557a8b97c4975c25cf5bd12fa3bb51fb38756 (patch) | |
tree | 23ce66a37d3964f271dda29811b3791b084dcc60 /install | |
parent | f2f8cf509625c427b07bf52f749df9e1aef45799 (diff) | |
download | myconfigs-64e557a8b97c4975c25cf5bd12fa3bb51fb38756.tar.gz myconfigs-64e557a8b97c4975c25cf5bd12fa3bb51fb38756.tar.bz2 myconfigs-64e557a8b97c4975c25cf5bd12fa3bb51fb38756.zip |
Rewrite arch packages little bit
List of expected packages is now generated using m4 language.
Diffstat (limited to 'install')
-rwxr-xr-x | install | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -6,16 +6,18 @@ cd `dirname $0` git submodule update --init || (echo "Submodule update failed! Use --ignore-sub if it's ok."; exit 5) # Source inst and diff function -source utils/inst -source utils/arch +. ./utils/inst # TODO if on archlinux install pkgstats and other packages we would need for every feature ################################################################################# source private/install # private files, sorry but some privacy is required. -read -p "Chek Archlinux system? (Y/n) " -if [[ $REPLY =~ ^[Yy]?$ ]]; then - archlinux_inst +if [ -e /etc/arch-release ]; then + . ./utils/arch + read -p "Chek Archlinux packages? (Y/n) " + if [[ $REPLY =~ ^[Yy]?$ ]]; then + archlinux_inst + fi fi read -p "Install Bashrc? (Y/n) " |