Skip to content
Navigation Menu
Toggle navigation
Sign in
In this repository
All GitHub Enterprise
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub Enterprise
↵
Jump to
↵
In this organization
All GitHub Enterprise
↵
Jump to
↵
In this repository
All GitHub Enterprise
↵
Jump to
↵
Sign in
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
mariux64
/
bee
Public
Notifications
You must be signed in to change notification settings
Fork
2
Star
0
Code
Issues
7
Pull requests
3
Actions
Projects
0
Wiki
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Files
8d9264e
conf
src
beecut
beesep
beesh.d
beeversion
hooks.d
gdk-pixbuf-query-loaders.sh
glib-compile-schemas.sh
gtk-update-icon-cache.sh
ldconfig.sh
mkfontdir-mkfontscale.sh
update-desktop-database.sh
update-mime-database.sh
bee-check.sh.in
bee-init.sh.in
bee-install.sh.in
bee-list.sh.in
bee-query.sh.in
bee-remove.sh.in
bee.sh.in
beefind.pl
beelib.config.sh.in
beesh.sh.in
.gitattributes
.gitignore
Makefile
TODO
Breadcrumbs
bee
/
src
/
hooks.d
/
gtk-update-icon-cache.sh
Blame
Blame
Latest commit
History
History
29 lines (26 loc) · 760 Bytes
Breadcrumbs
bee
/
src
/
hooks.d
/
gtk-update-icon-cache.sh
Top
File metadata and controls
Code
Blame
29 lines (26 loc) · 760 Bytes
Raw
#!/bin/bash action=${1} pkg=${2} if [ -z ${BEE_VERSION} ] ; then echo >&2 "BEE-ERROR: cannot call $0 from the outside of bee .." exit 1 fi if ! which gtk-update-icon-cache >/dev/null 2>&1 ; then exit 0 fi for dir in ${XDG_DATA_DIRS//:/ } ; do icon_base_dir=${dir}/icons for line in $(grep -h "file=${icon_base_dir}/.*/index.theme" ${BEE_METADIR}/${pkg}/FILES) ; do eval $(beesep ${line}) icon_dir=${file%%/index.theme} case "${action}" in "post-install") rm -f ${icon_dir}/icon-theme.cache gtk-update-icon-cache -f ${icon_dir} ;; "pre-remove") rm -f ${icon_dir}/icon-theme.cache ;; esac done done
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
You can’t perform that action at this time.