Quote variables, add resize function

This commit is contained in:
natemaia 2019-03-11 01:52:49 -07:00
parent 1619daa362
commit 20823f7a9a
3 changed files with 341 additions and 300 deletions

View File

@ -8,7 +8,7 @@
#### Requirements
`coreutils`, `parted`, `rsync`, `dialog`, `vim`, `chpasswd`, `curl`, `arch-chroot`
`awk`, `sed`, `curl`, `vim`, `rsync`, `parted`, `dialog`, `coreutils`, `findutils`, `chpasswd`, `util-linux`, `arch-install-scripts`
#### Manual Installation
@ -18,7 +18,10 @@ sh -c "$(curl -fsSL https://bitbucket.org/archlabslinux/installer/raw/master/ins
```
---
A packaged version can also be found in our repos:
[stable](https://bitbucket.org/archlabslinux/archlabs_repo/src/master/x86_64/)
[unstable](https://bitbucket.org/archlabslinux/archlabs_unstable/src/master/x86_64/)
A packaged version can also be found in our repos:
- stable: https://bitbucket.org/archlabslinux/archlabs\_repo
- unstable: https://bitbucket.org/archlabslinux/archlabs\_unstable

File diff suppressed because it is too large Load Diff

View File

@ -1,17 +1,12 @@
#!/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'
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
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"