18 lines
799 B
Bash
Executable file
18 lines
799 B
Bash
Executable file
# install typst
|
|
echo "Installing Typst"
|
|
echo " - Downloading Typst binary archive..."
|
|
wget -nv https://github.com/typst/typst/releases/download/v0.13.1/typst-aarch64-unknown-linux-musl.tar.xz 1> /dev/null 2> /dev/null
|
|
echo " - Extracting archive..."
|
|
tar -xf typst-aarch64-unknown-linux-musl.tar.xz typst-aarch64-unknown-linux-musl/
|
|
echo " - Cleanup..."
|
|
mv typst-aarch64-unknown-linux-musl/typst ./typst
|
|
rm -rf typst-aarch64-unknown-linux-musl/
|
|
rm typst-aarch64-unknown-linux-musl.tar.xz
|
|
echo "Install systemd timer"
|
|
sudo cp moninktor-update.service /etc/systemd/system/
|
|
sudo cp moninktor-update.timer /etc/systemd/system/
|
|
chmod +x /home/grizzly/moninktor/update.sh
|
|
sudo systemctl daemon-reload
|
|
sudo systemctl enable moninktor-update.timer
|
|
sudo systemctl start moninktor-update.timer
|
|
echo " - Done."
|