mirror of
https://github.com/ben-grande/qusal.git
synced 2024-10-01 02:35:49 -04:00
0eecbcffc4
Upstream-commit: 0648b2329f0d142a2e24ecf376b28603fb04abb4
19 lines
411 B
Bash
Executable File
19 lines
411 B
Bash
Executable File
#!/usr/bin/sh
|
|
|
|
# SPDX-FileCopyrightText: 2022 - 2023 The Qubes OS Project <https://www.qubes-os.org>
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
set -e
|
|
|
|
sudo bash -c "mkdir -p /builder/incoming && chown -R user:user /builder"
|
|
|
|
id=$(id -u user)
|
|
|
|
if test -x /usr/lib/qubes/qfile-unpacker; then
|
|
# shellcheck disable=SC2123
|
|
PATH="${PATH+"$PATH:"}/usr/lib/qubes"
|
|
fi
|
|
|
|
exec qfile-unpacker "$id" "/builder/incoming"
|