aboutsummaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
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) "