From 64e557a8b97c4975c25cf5bd12fa3bb51fb38756 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 28 Dec 2016 16:37:18 +0100 Subject: Rewrite arch packages little bit List of expected packages is now generated using m4 language. --- install | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'install') diff --git a/install b/install index 416bae5..b7a289f 100755 --- a/install +++ b/install @@ -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) " -- cgit v1.2.3