kinfocenter fix broken symlink issue
This commit is contained in:
1 parent
f2939cebb2
commit
6bc82b6393
1 file changed
+5
-6
@@ -30,11 +30,10 @@ 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
|
||||
|
||||
rm -f $DESTDIR/usr/bin/kinfocenter
|
||||
ln -s ../systemsettings5 $DESTDIR/usr/bin/kinfocenter
|
||||
}
|
||||
#usr/bin/kinfocenter => /usr/bin/systemsettings5
|
||||
|
||||
#rm -f $DESTDIR/usr/share/kglobalaccel/org.kde.dolphin.desktop
|
||||
#ln -s ../applications/org.kde.dolphin.desktop $DESTDIR/usr/share/kglobalaccel/org.kde.dolphin.desktop
|
||||
Reference in new issue
Block a user