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 #### 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 #### 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/) A packaged version can also be found in our repos:
[unstable](https://bitbucket.org/archlabslinux/archlabs_unstable/src/master/x86_64/)
- 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 #!/bin/bash
if (( UID != 0 )); then if (( UID != 0 )); then
printf "privilege escalation required\n" printf "privilege escalation required\n"
su -c 'hash git >/dev/null 2>&1 || pacman -Syy git su -c 'hash git >/dev/null 2>&1 || pacman -Syy git
git clone --depth=1 https://bitbucket.org/archlabslinux/installer && git clone --depth=1 https://bitbucket.org/archlabslinux/installer && cp -fv installer/archlabs-installer /usr/bin/ && rm -rf installer'
cp -fv installer/archlabs-installer /usr/bin/ && rm -rf installer'
else else
hash git >/dev/null 2>&1 || pacman -Syy git hash git >/dev/null 2>&1 || pacman -Syy git
git clone --depth=1 https://bitbucket.org/archlabslinux/installer && git clone --depth=1 https://bitbucket.org/archlabslinux/installer && cp -fv installer/archlabs-installer /usr/bin/ && rm -rf installer
cp -fv installer/archlabs-installer /usr/bin/ && rm -rf installer
fi fi
[ $? -eq 0 ] && printf "\nInstall complete\n" [ $? -eq 0 ] && printf "\nInstall complete\n"