kinfocenter systemsettings link transfer

This commit is contained in:
aliriza committed 2023-11-17 10:33:16 +00:00
1 parent a85758c390
commit 34360e75bf
2 files changed
+2 -4

No files matched your search

-4
View File
@@ -30,10 +30,6 @@ build () {
package () {
INSTALL_ROOT="$DESTDIR" cmake --install build
# remove broken symlink and insert script
# systemsettings5 file is not part of kinfocenter
rm -f $DESTDIR/usr/bin/kinfocenter
echo '#!/bin/sh' > $DESTDIR/usr/bin/kinfocenter
echo 'exec /usr/bin/systemsettings5 "$@"' > $DESTDIR/usr/bin/kinfocenter
}
+2
View File
@@ -31,5 +31,7 @@ package () {
# fix symlink
rm -f $DESTDIR/usr/share/kglobalaccel/systemsettings.desktop
ln -s ../applications/systemsettings.desktop $DESTDIR/usr/share/kglobalaccel/systemsettings.desktop
# link kinfocenter
ln -s systemsettings $DESTDIR/usr/bin/kinfocenter
}