Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Packaging/RedHat/SPECS/libcorefoundation.spec
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,11 @@ ln -s ../Frameworks/CFNetwork.framework/Versions/${CFNET_VERSION}/libCFNetwork.s
/usr/NextSpace/Frameworks/CFNetwork.framework/Headers

%postun
/bin/rm -rf /usr/NextSpace/Frameworks/CoreFoundation.framework
/bin/rm -rf /usr/NextSpace/Frameworks/CFNetwork.framework
if [ $1 -eq 0 ]; then
# full uninstall:
/bin/rm -rf /usr/NextSpace/Frameworks/CoreFoundation.framework
/bin/rm -rf /usr/NextSpace/Frameworks/CFNetwork.framework
fi

%changelog
* Tue Nov 5 2024 Andres Morales <armm77@icloud.com>
Expand Down
2 changes: 1 addition & 1 deletion Packaging/RedHat/SPECS/libobjc2.spec
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ if [ -f /usr/NextSpace/include/Block.h ];then
fi

%postun devel
if [ -f /usr/NextSpace/include/Block-libdispatch.h ];then
if [ $1 -eq 0 -a -f /usr/NextSpace/include/Block-libdispatch.h ];then
mv /usr/NextSpace/include/Block-libdispatch.h /usr/NextSpace/include/Block.h
rm /usr/NextSpace/include/Block.h
fi
Expand Down
2 changes: 1 addition & 1 deletion Packaging/RedHat/SPECS/nextspace-applications.spec
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ if [ $1 -eq 0 ]; then
fi

%postun
if [ -f /usr/NextSpace/Preferences/Login ]; then
if [ $1 -eq 0 -a -f /usr/NextSpace/Preferences/Login ]; then
rm /usr/NextSpace/Preferences/Login
fi

Expand Down
7 changes: 5 additions & 2 deletions Packaging/RedHat/SPECS/nextspace-frameworks.spec
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,11 @@ fi
#%preun

%postun
/bin/rm -rf /usr/NextSpace/Frameworks/DesktopKit.framework
/bin/rm /etc/fonts/conf.d/25-nextspace-fonts.conf
if [ $1 -eq 0 ]; then
# full uninstall:
/bin/rm -rf /usr/NextSpace/Frameworks/DesktopKit.framework
/bin/rm /etc/fonts/conf.d/25-nextspace-fonts.conf
fi
/sbin/ldconfig

%changelog
Expand Down
2 changes: 1 addition & 1 deletion Packaging/RedHat/SPECS/nextspace-gnustep.spec
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ elif [ $1 -eq 1 ]; then
fi

%postun
if [ -d /usr/NextSpace/Preferences ]; then
if [ $1 -eq 0 -a -d /usr/NextSpace/Preferences ]; then
rm -rf /usr/NextSpace/Preferences
fi

Expand Down