OSDN Git Service

simplify manual install process and remove install script
authornatemaia <natemaia10@gmail.com>
Sat, 27 Apr 2019 20:07:36 +0000 (13:07 -0700)
committernatemaia <natemaia10@gmail.com>
Sat, 27 Apr 2019 20:07:36 +0000 (13:07 -0700)
README.md
install.sh [deleted file]

index 0115829..fbebfbe 100644 (file)
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@
 #### Manual Installation
 
 ```
-sh -c "$(curl -fsSL https://bitbucket.org/archlabslinux/installer/raw/master/install.sh)"
+curl -fsSL https://bitbucket.org/archlabslinux/installer/raw/master/archlabs-installer -o /usr/bin/archlabs-installer
 ```
 
 ---
diff --git a/install.sh b/install.sh
deleted file mode 100755 (executable)
index ceee5d4..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-if (( UID != 0 )); then
-       printf "privilege escalation required\n"
-       su -c 'hash git >/dev/null 2>&1 || pacman -Syy git
-       git clone --depth=1 https://bitbucket.org/archlabslinux/installer && cp -fv installer/archlabs-installer /usr/bin/ && rm -rf installer'
-else
-       hash git >/dev/null 2>&1 || pacman -Syy git
-       git clone --depth=1 https://bitbucket.org/archlabslinux/installer && cp -fv installer/archlabs-installer /usr/bin/ && rm -rf installer
-fi
-
-[ $? -eq 0 ] && printf "\nInstall complete\n"