Skip to content

Commit

Permalink
Place default mimeapps.list in securedrop-workstatin-config package
Browse files Browse the repository at this point in the history
  • Loading branch information
emkll authored and Conor Schaefer committed Oct 22, 2020
1 parent 595b93b commit 570592c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion securedrop-workstation-config/debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ set -e
case "$1" in
configure)
# move pax flags and restart paxctld service
# copy and set default mimeapps handling
# except for whonix-based VMs
if [ ! -e "/etc/whonix_version" ]; then
cp /opt/sdw/paxctld.conf /etc/paxctld.conf
systemctl restart paxctld
cp /opt/sdw/open-in-dvm.desktop /usr/share/applications/
cp /opt/sdw/mimeapps.list.sd-app /usr/share/applications/mimeapps.list
fi
cp /opt/sdw/open-in-dvm.desktop /usr/share/applications/
;;

abort-upgrade|abort-remove|abort-deconfigure)
Expand Down

0 comments on commit 570592c

Please sign in to comment.