12 lines
435 B
Bash
Executable File
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"
|