Skip to content

Commit

Permalink
8.5
Browse files Browse the repository at this point in the history
  • Loading branch information
gruberroland committed Sep 29, 2023
1 parent da607c4 commit daf7d94
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lam-packaging/buildPackages
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,7 @@ function minifyCSS {
echo "Minify CSS files in $dir"
local outFile=$dir/100_lam.${VERSION}.min.css
local files=`ls $dir/*.css`
extraOptions=''
cleancss --help | grep -e '--skip-rebase' > /dev/null
if [ $? -eq 0 ]; then
extraOptions='--skip-rebase'
fi
cat $files | cleancss $extraOptions -o $outFile
cat $files | cleancss -o $outFile
rm $files
# add final new line to supress Debian warnings
echo "" >> $outFile
Expand Down

0 comments on commit daf7d94

Please sign in to comment.