mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-04 00:47:15 +08:00
12 lines
299 B
Bash
Executable File
12 lines
299 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ ! $EUID -eq 0 ]; then
|
|
echo "This script updates the Unvanquished main installation and thus must be run as root."
|
|
exit
|
|
fi
|
|
|
|
# Make sure unvanquished has read access
|
|
umask 033
|
|
|
|
exec /usr/lib/unvanquished/download-pk3.sh /var/lib/unvanquished/main /var/cache/unvanquished/update-paks
|