mirror of
https://github.com/quamotion/dotnet-packaging.git
synced 2026-02-04 05:35:40 +00:00
[PR #236] Trim Debian install/remove scripts and fix line endings to Unix LF #316
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/quamotion/dotnet-packaging/pull/236
Author: @andersemil
Created: 3/1/2023
Status: 🔄 Open
Base:
master← Head:fixes/deb-format-scripts📝 Commits (1)
35ac133Trim Debian install/remove scripts and fix line endings to Unix LF📊 Changes
1 file changed (+4 additions, -4 deletions)
View changed files
📝
Packaging.Targets/Deb/DebPackageCreator.cs(+4 -4)📄 Description
When creating a daemon for Linux, we needed to add a PostRemoveScript. When doing so, our programmer's Visual Studio was set to using CRLF line endings. Since scripts seem to be raw copied, this created invalid scripts for Linux systems.
We propose a fix by trimming the scripts and replacing CRLF line endings with LF.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.