Skip to content

Commit

Permalink
Update linphone profile (#3734)
Browse files Browse the repository at this point in the history
linphone 4.0 changed the location of config and database files
to respect freedesktop standards.
  • Loading branch information
daradib authored Nov 8, 2020
1 parent f3c3ed0 commit ca3c2fa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions etc/inc/disable-programs.inc
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ blacklist ${HOME}/.config/kwriterc
blacklist ${HOME}/.config/leafpad
blacklist ${HOME}/.config/libreoffice
blacklist ${HOME}/.config/liferea
blacklist ${HOME}/.config/linphone
blacklist ${HOME}/.config/lugaru
blacklist ${HOME}/.config/lximage-qt
blacklist ${HOME}/.config/mailtransports
Expand Down Expand Up @@ -654,6 +655,7 @@ blacklist ${HOME}/.local/share/kube
blacklist ${HOME}/.local/share/kwrite
blacklist ${HOME}/.local/share/kxmlgui5/*
blacklist ${HOME}/.local/share/liferea
blacklist ${HOME}/.local/share/linphone
blacklist ${HOME}/.local/share/local-mail
blacklist ${HOME}/.local/share/lollypop
blacklist ${HOME}/.local/share/love
Expand Down
11 changes: 9 additions & 2 deletions etc/profile-a-l/linphone.profile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ include linphone.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.config/linphone
noblacklist ${HOME}/.linphone-history.db
noblacklist ${HOME}/.linphonerc
noblacklist ${HOME}/.local/share/linphone

include disable-common.inc
include disable-devel.inc
Expand All @@ -16,10 +18,15 @@ include disable-interpreters.inc
include disable-passwdmgr.inc
include disable-programs.inc

mkfile ${HOME}/.linphone-history.db
mkfile ${HOME}/.linphonerc
# linphone 4.0 (released 2017-06-26) moved config and database files to respect
# freedesktop standards. For backward compatibility we continue to whitelist
# ${HOME}/.linphone-history.db and ${HOME}/.linphonerc but no longer mkfile.
mkdir ${HOME}/.config/linphone
mkdir ${HOME}/.local/share/linphone
whitelist ${HOME}/.config/linphone
whitelist ${HOME}/.linphone-history.db
whitelist ${HOME}/.linphonerc
whitelist ${HOME}/.local/share/linphone
whitelist ${DOWNLOADS}
include whitelist-common.inc

Expand Down

0 comments on commit ca3c2fa

Please sign in to comment.