aboutsummaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-12-28 16:37:18 +0100
committerKarel Kočí <cynerd@email.cz>2016-12-28 16:37:18 +0100
commit64e557a8b97c4975c25cf5bd12fa3bb51fb38756 (patch)
tree23ce66a37d3964f271dda29811b3791b084dcc60 /install
parentf2f8cf509625c427b07bf52f749df9e1aef45799 (diff)
downloadmyconfigs-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-xinstall12
1 files changed, 7 insertions, 5 deletions
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) "