Skip to content
Snippets Groups Projects
Unverified Commit abe4de8e authored by Max Adamo's avatar Max Adamo
Browse files

fix: simplify deb2ubu function by removing redundant command

parent fb1d8afa
No related branches found
No related tags found
No related merge requests found
......@@ -17,8 +17,8 @@ fi
deb2ubu() {
local DEB_NAME=$1
cd deb_dist/
ar x $DEB_NAME
if [[ -f control.tar.zst ]]; then
ar x $DEB_NAME
zstd -d <control.tar.zst | xz >control.tar.xz
zstd -d <data.tar.zst | xz >data.tar.xz
ar -m -c -a sdsd "../packages/deb/${DEB_NAME}" debian-binary control.tar.xz data.tar.xz
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment