File tree Expand file tree Collapse file tree 4 files changed +11
-30
lines changed Expand file tree Collapse file tree 4 files changed +11
-30
lines changed Original file line number Diff line number Diff line change 3
3
# Exit immediately if something fails
4
4
set -e
5
5
6
- mkdir -p /tmp/firefoxprofile_installer
7
- sudo mkdir -p /usr/share/pixmaps/
8
-
9
-
10
- if [[ -e /usr/lib/firefox/browser/omni.ja ]]; then
11
- unzip -o /usr/lib/firefox/browser/omni.ja " chrome/browser/skin/classic/browser/privatebrowsing/favicon.svg" -d /tmp/firefoxprofile_installer
12
- elif [[ -e /usr/lib/firefox-esr/browser/omni.ja ]]; then
13
- unzip -o /usr/lib/firefox-esr/browser/omni.ja " chrome/browser/skin/classic/browser/privatebrowsing/favicon.svg" -d /tmp/firefoxprofile_installer
14
- else
15
- echo " Warning: Neither /usr/lib/firefox/browser/omni.ja nor /usr/lib/firefox-esr/browser/omni.ja exists. Continuing installation without extracting favicon.svg."
16
- fi
17
-
18
- if [[ -e /tmp/firefoxprofile_installer/chrome/browser/skin/classic/browser/privatebrowsing/favicon.svg ]]; then
19
- sudo mv /tmp/firefoxprofile_installer/chrome/browser/skin/classic/browser/privatebrowsing/favicon.svg /usr/share/pixmaps/private_browsing_firefox.svg
20
- rm -rf /tmp/firefoxprofile_installer
21
- fi
22
-
23
6
# Clone project if it is downloaded using curl
24
7
if [[ $( basename " $PWD " ) != " krunner-firefox" * ]]; then
25
8
git clone https://github.com/alex1701c/krunner-firefox
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -40,3 +40,5 @@ target_link_libraries(kcm_firefoxprofilerunner
40
40
KF${QT_MAJOR_VERSION}::Runner
41
41
core_STATIC
42
42
)
43
+
44
+ install (FILES private_browsing_firefox.svg DESTINATION ${KDE_INSTALL_DATADIR} /pixmaps/ )
You can’t perform that action at this time.
0 commit comments