www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit aa10d5aa8c8b36d78ab595abfd0bf4f199164bbc
parent 5e9ee59e7a07e7b65f8400e9dbdb28a9809faccd
Author: Suzanne Soy <ligo@suzanne.soy>
Date:   Mon,  8 Mar 2021 03:57:01 +0000

Create /usr/share/wayland-sessions/ if it does not exist

Diffstat:
Minstall.sh | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/install.sh b/install.sh @@ -180,7 +180,7 @@ if [ $yn = Y ]; then $SUDO ninja -C build install fi -SESSIONS_DIR=/usr/share/wayland-sessions +SESSIONS_DIR=/usr/share/wayland-sessions/ SUDO_FOR_SESSIONS=sudo if [ -w $SESSIONS_DIR ] || ! which sudo > /dev/null; then SUDO_FOR_SESSIONS= @@ -190,6 +190,7 @@ if [ $yn = Y ]; then cp $BUILDROOT/wayfire.desktop.in $BUILDROOT/wayfire.desktop sed -i "s@^Exec.*@Exec=$PREFIX/bin/startwayfire@g" $BUILDROOT/wayfire.desktop sed -i "s@^Icon.*@Icon=$PREFIX/share/wayfire/icons/wayfire.png@g" $BUILDROOT/wayfire.desktop + sudo mkdir -p $SESSIONS_DIR $SUDO_FOR_SESSIONS install -m 644 $BUILDROOT/wayfire.desktop $SESSIONS_DIR fi