From 8554bdeb96e4dae5b9cd2b9552ded43db62c7d80 Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Tue, 17 Jun 2014 19:43:46 +0200 Subject: [PATCH] Group commands to create debian/install. --- lib/jdk.sh | 4 ++-- lib/jre.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/jdk.sh b/lib/jdk.sh index 220f213..25d7d9c 100644 --- a/lib/jdk.sh +++ b/lib/jdk.sh @@ -49,13 +49,13 @@ j2sdk_run() { j2se_changelog > "$debian_dir/changelog" j2sdk_control > "$debian_dir/control" j2se_copyright > "$debian_dir/copyright" - echo "$j2se_name $jvm_base" > "$debian_dir/install" j2se_rules > "$debian_dir/rules" chmod +x "$debian_dir/rules" j2se_install_scripts install -d "$target/debian" j2se_info > "$target/debian/info" eval "$j2se_jinfo" > "$package_dir/.$j2se_name.jinfo" - echo ".$j2se_name.jinfo $jvm_base" >> "$debian_dir/install" + echo ".$j2se_name.jinfo $jvm_base" > "$debian_dir/install" + echo "$j2se_name $jvm_base" >> "$debian_dir/install" j2se_build } diff --git a/lib/jre.sh b/lib/jre.sh index 9154993..b19e6ce 100644 --- a/lib/jre.sh +++ b/lib/jre.sh @@ -35,13 +35,13 @@ j2re_run() { j2se_changelog > "$debian_dir/changelog" j2re_control > "$debian_dir/control" j2se_copyright > "$debian_dir/copyright" - echo "$j2se_name $jvm_base" > "$debian_dir/install" j2se_rules > "$debian_dir/rules" chmod +x "$debian_dir/rules" j2se_install_scripts install -d "$target/debian" j2se_info > "$target/debian/info" eval "$j2se_jinfo" > "$package_dir/.$j2se_name.jinfo" - echo ".$j2se_name.jinfo $jvm_base" >> "$debian_dir/install" + echo ".$j2se_name.jinfo $jvm_base" > "$debian_dir/install" + echo "$j2se_name $jvm_base" >> "$debian_dir/install" j2se_build } -- 2.39.2