mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
16 lines
305 B
Plaintext
16 lines
305 B
Plaintext
|
|
update_cache() {
|
|
update-desktop-database -q
|
|
}
|
|
|
|
post_install() {
|
|
post_upgrade
|
|
echo "NOTE: To run wireshark as normal user you have to add yourself into wireshark group"
|
|
}
|
|
|
|
post_upgrade() {
|
|
update_cache
|
|
|
|
setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip CAP_DAC_OVERRIDE+eip' usr/bin/dumpcap
|
|
}
|