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