Skip to content

Commit

Permalink
remove obsolete part in scratch info
Browse files Browse the repository at this point in the history
  • Loading branch information
emmett1 committed Apr 28, 2020
1 parent ab23dbd commit eee0a24
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scratch
Original file line number Diff line number Diff line change
Expand Up @@ -1230,7 +1230,6 @@ scratch_info() {

. $ppath/$BUILD_SCRIPT
desc=$(grep "^# description[[:blank:]]*:" $ppath/$BUILD_SCRIPT | sed 's/^# description[[:blank:]]*:[[:blank:]]*//')
url=$(grep "^# homepage[[:blank:]]*:" $ppath/$BUILD_SCRIPT | sed 's/^# homepage[[:blank:]]*:[[:blank:]]*//')
maint=$(grep "^# maintainer[[:blank:]]*:" $ppath/$BUILD_SCRIPT | sed 's/^# maintainer[[:blank:]]*:[[:blank:]]*//')
deps=$(get_depends $1 | tr '\n' ' ')

Expand All @@ -1239,7 +1238,6 @@ scratch_info() {
echo "Version: $version"
echo "Release: $release"
echo "Description: $desc"
echo "Homepage: $url"
echo "Maintainer: $maint"
echo "Dependencies: $deps"
}
Expand Down

0 comments on commit eee0a24

Please sign in to comment.