diff options
-rwxr-xr-x | firefox-hardening.install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firefox-hardening.install b/firefox-hardening.install index ec4d6199281f..1acebd0d7372 100755 --- a/firefox-hardening.install +++ b/firefox-hardening.install @@ -1,5 +1,5 @@ post_install() { - if [ ! -d /etc/firefox-hardening ]; then + if [ ! -d /etc/firefox-hardening/prefs ]; then mkdir -p /etc/firefox-hardening/prefs fi @@ -11,7 +11,7 @@ post_install() { } post_upgrade() { - if [ ! -d /etc/firefox-hardening ] || [ ! -f /etc/firefox-hardening/ffh.conf ]; then + if [ ! -d /etc/firefox-hardening/prefs ] || [ ! -f /etc/firefox-hardening/ffh.conf ]; then post_install else install -m644 -D "/usr/lib/firefox-hardening/ffh.conf.example" "/etc/firefox-hardening/ffh.conf.package" |