This repository has been archived on 2024-09-01. You can view files and clone it, but cannot push or open issues or pull requests.
al-installer/install.sh

12 lines
435 B
Bash
Executable File

#!/bin/bash
readonly SCRIPT_DIR="$(readlink -f ${0%/*})"
echo; echo "This requires root privileges"
sudo mkdir -pv /usr/share/archlabs/{docs,lib,lang}
sudo cp -fv $SCRIPT_DIR/src/archlabs-installer /usr/bin/
sudo cp -fv $SCRIPT_DIR/src/lib/*.sh /usr/share/archlabs/lib/
sudo cp -fv $SCRIPT_DIR/lang/*.trans /usr/share/archlabs/lang/
sudo cp -fv $SCRIPT_DIR/{LICENSE,README.md} /usr/share/archlabs/docs/
echo; echo "Install complete"