kinfocenter systemsettings link transfer
This commit is contained in:
1 parent
a85758c390
commit
34360e75bf
2 files changed
+2
-4
No files matched your search
@@ -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
|
||||
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user