diff --git a/termux-shared/src/main/res/raw/apt_info_script. b/termux-shared/src/main/res/raw/apt_info_script.sh similarity index 94% rename from termux-shared/src/main/res/raw/apt_info_script. rename to termux-shared/src/main/res/raw/apt_info_script.sh index 3319e9ba..4812c100 100644 --- a/termux-shared/src/main/res/raw/apt_info_script. +++ b/termux-shared/src/main/res/raw/apt_info_script.sh @@ -20,7 +20,7 @@ subscribed_repositories() { else echo "#### sources.list.d/$(basename "$filename")" fi - echo "\`$supl_sources\`" + echo "\`$supl_sources\` " fi done < <(find "@TERMUX_PREFIX@/etc/apt/sources.list.d" -maxdepth 1 ! -type d) } @@ -37,7 +37,7 @@ updatable_packages() { if [ -z "$updatable" ];then echo "All packages up to date" else - echo "\`$updatable\`" + echo $'```\n'"$updatable"$'\n```\n' fi fi } @@ -50,6 +50,7 @@ $(subscribed_repositories) ### Updatable Packages + $(updatable_packages) ##