Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Olf0 authored Oct 14, 2018
1 parent 48c0e29 commit 7466a04
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions rpm/crypto-sdcard.spec
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Name: crypto-sdcard
Summary: Configuration files for unlocking and mounting encrypted SD-cards
Version: 0.4
Release: 2
# Release: 1+sbj
Release: 4
# Release: 3sbj
Group: System/Base
Distribution: SailfishOS
Vendor: olf
Expand Down Expand Up @@ -44,7 +44,8 @@ cp -R systemd polkit-1 udev %{buildroot}%{_sysconfdir}/
%{_sysconfdir}/udev/rules.d/82-cryptosd.rules

%post
if [ "$1" = "1" ] # First install
if [ "$1" = "1" ]
# First install
then rm -f \
%{_sysconfdir}/udev/rules.d/81-crypto-sd.rules \
%{_sysconfdir}/udev/rules.d/82-crypto-sd.rules \
Expand All @@ -54,7 +55,6 @@ then rm -f \
%{_sysconfdir}/systemd/system/[email protected] \
%{_sysconfdir}/systemd/system/[email protected] \
%{_sysconfdir}/systemd/system/[email protected] \
%{_sysconfdir}/systemd/system/[email protected] \
|| true
%{_sysconfdir}/systemd/system/[email protected]
fi

0 comments on commit 7466a04

Please sign in to comment.