Accepting request 1136993 from filesystems
OBS-URL: https://build.opensuse.org/request/show/1136993 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fuse-exfat?expand=0&rev=6
This commit is contained in:
commit
8f32893426
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 4 17:57:51 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Do not mess with system config files which we do not own during
|
||||||
|
post/postun.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 17 17:17:27 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Fri Mar 17 17:17:27 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package fuse-exfat
|
# spec file for package fuse-exfat
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
# Copyright (c) 2013 Sidlovsky, Yaroslav <zawertun@gmail.com>
|
# Copyright (c) 2013 Sidlovsky, Yaroslav <zawertun@gmail.com>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -52,23 +52,6 @@ make %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
%post
|
|
||||||
if ! grep -q -e '^exfat$' %{_sysconfdir}/filesystems ; then
|
|
||||||
sed -i 's/*/exfat\n*/g' %{_sysconfdir}/filesystems
|
|
||||||
echo "Added 'exfat' to the file %{_sysconfdir}/filesystems"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! grep -q exfat_fuse %{_sysconfdir}/filesystems ; then
|
|
||||||
sed -i 's/*/exfat_fuse\n*/g' %{_sysconfdir}/filesystems
|
|
||||||
echo "Added 'exfat_fuse' to the file %{_sysconfdir}/filesystems"
|
|
||||||
fi
|
|
||||||
|
|
||||||
%postun
|
|
||||||
if [ "$1" = "0" ]; then
|
|
||||||
sed -i -e '/exfat_fuse/d' -e '/^exfat$/d' %{_sysconfdir}/filesystems
|
|
||||||
echo "Deleted 'exfat' and 'exfat_fuse' from the file %{_sysconfdir}/filesystems"
|
|
||||||
fi
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc ChangeLog README
|
%doc ChangeLog README
|
||||||
|
Loading…
Reference in New Issue
Block a user