mirror of
https://github.com/awesome-selfhosted/awesome-selfhosted.git
synced 2025-05-01 11:19:21 -05:00
Fix Makefile: source and demo links, invert order
This commit is contained in:
parent
e4b210a43a
commit
26852b7371
2
Makefile
2
Makefile
@ -38,7 +38,7 @@ add:
|
||||
read Source; if [ -z "$$Source" ]; then CSource="" ; else CSource="[Source Code]($$Source)" ; fi ;\
|
||||
if [[ "$$CSource" == "" && "$$Demo" == "" ]]; \
|
||||
then Moreinfo="";\ printf "debug" ;\
|
||||
else Moreinfo=$$(echo "($$CSource$$CDemo)" | sed 's|)\[|\], [|g') ;\
|
||||
else Moreinfo=$$(echo "($$CDemo$$CSource)" | sed 's|)\[|), [|g') ;\
|
||||
fi ;\
|
||||
echo -e "Copy this entry to your clipboard, paste it in the appropriate category:\n\n" ;\
|
||||
echo " * [$$Name]($$Url) - $${Description}. $$Moreinfo \`$$License\` \`$$Language\`"
|
||||
|
Loading…
x
Reference in New Issue
Block a user