forked from obel1x/fedora-OEMDRV
16 lines
474 B
Bash
Executable File
16 lines
474 B
Bash
Executable File
#!/usr/bin/env sh
|
|
# SPDX-FileCopyrightText: Daniel Pätzold
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
#
|
|
# Sofwareinstallation script for Nextcloud Talk.
|
|
#
|
|
|
|
#Check for root
|
|
if [ "$EUID" -ne 0 ]; then
|
|
echo "Error: Script requires root. Please check if ${SCRIPTPATH}/${SCRIPTNAME} is in sudoers rules and if you are a member. And if executed via sudo."
|
|
exit 1
|
|
fi
|
|
|
|
cp -n *.desktop $SUDO_HOME/Schreibtisch
|
|
chown $SUDO_USER:$SUDO_USER $SUDO_HOME/Schreibtisch/*.desktop
|