We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e9ee59 commit aa10d5aCopy full SHA for aa10d5a
1 file changed
install.sh
@@ -180,7 +180,7 @@ if [ $yn = Y ]; then
180
$SUDO ninja -C build install
181
fi
182
183
-SESSIONS_DIR=/usr/share/wayland-sessions
+SESSIONS_DIR=/usr/share/wayland-sessions/
184
SUDO_FOR_SESSIONS=sudo
185
if [ -w $SESSIONS_DIR ] || ! which sudo > /dev/null; then
186
SUDO_FOR_SESSIONS=
@@ -190,6 +190,7 @@ if [ $yn = Y ]; then
190
cp $BUILDROOT/wayfire.desktop.in $BUILDROOT/wayfire.desktop
191
sed -i "s@^Exec.*@Exec=$PREFIX/bin/startwayfire@g" $BUILDROOT/wayfire.desktop
192
sed -i "s@^Icon.*@Icon=$PREFIX/share/wayfire/icons/wayfire.png@g" $BUILDROOT/wayfire.desktop
193
+ sudo mkdir -p $SESSIONS_DIR
194
$SUDO_FOR_SESSIONS install -m 644 $BUILDROOT/wayfire.desktop $SESSIONS_DIR
195
196
0 commit comments