Packager: remove .orig directory before deb package building

This commit is contained in:
- 2019-05-31 08:57:33 +03:00
parent d43ff73778
commit e89e561358

View file

@ -817,6 +817,7 @@ Private Function MakeDebPackage(sSys As String)
sPackagePath = Path &/ Subst("&1-&2", sPackageName, $sVersion) sPackagePath = Path &/ Subst("&1-&2", sPackageName, $sVersion)
Try Shell "rm -Rf " & Shell$(sPackagePath) Wait Try Shell "rm -Rf " & Shell$(sPackagePath) Wait
Try Shell "rm -Rf " & Shell$(sPackagePath & ".orig") Wait
Mkdir sPackagePath Mkdir sPackagePath
Mkdir sPackagePath &/ "src" Mkdir sPackagePath &/ "src"
Mkdir sPackagePath &/ "debian" Mkdir sPackagePath &/ "debian"