OSDN Git Service

[fix] : Fixed script file name.
authorhayao <shun819.mail@gmail.com>
Thu, 9 Apr 2020 02:59:32 +0000 (11:59 +0900)
committerhayao <shun819.mail@gmail.com>
Thu, 9 Apr 2020 02:59:32 +0000 (11:59 +0900)
docs/README.md
docs/README_jp.md
keyring.sh
wizard.sh

index 75b530d..e1206e8 100644 (file)
@@ -96,7 +96,7 @@ cd ./alterlinux/
 AlterLinux includes a script to easily add keys.
 
 ```bash
-sudo ./add-key.sh --alter
+sudo ./keyring.sh --alter-add
 ```
 
 #### Build on real machine
index 18b60c8..1d906e8 100644 (file)
@@ -97,7 +97,7 @@ cd ./alterlinux/
 AlterLinuxには鍵を簡単に追加するスクリプトが含まれています。
 
 ```bash
-sudo ./add-key.sh --alter
+sudo ./keyring.sh --alter-add
 ```
 
 ### 実機でビルドする
index 86045f3..bc79caa 100755 (executable)
@@ -6,7 +6,7 @@
 #
 # (c) 2019-2020 Fascode Network.
 #
-# add-key.sh
+# keyring.sh
 #
 # Script to import AlterLinux and ArchLinux keys.
 #
index 3170047..483a5d0 100755 (executable)
--- a/wizard.sh
+++ b/wizard.sh
@@ -20,8 +20,8 @@ function check_files () {
         echo "${script_path}/build.shが見つかりませんでした。" >&2
         exit 1
     fi
-    if [[ ! -f "${script_path}/add-key.sh" ]]; then
-        echo "${script_path}/add-key.shが見つかりませんでした。" >&2
+    if [[ ! -f "${script_path}/keyring.sh" ]]; then
+        echo "${script_path}/keyring.shが見つかりませんでした。" >&2
         exit 1
     fi
 }
@@ -31,7 +31,7 @@ function run_add_key_script () {
     echo -n "AlterLinuxの鍵を追加しますか? (y/N) : "
     read yn
     case ${yn} in
-        y | Y | yes | Yes | YES ) sudo "${script_path}/add-key.sh" --alter   ;;
+        y | Y | yes | Yes | YES ) sudo "${script_path}/keyring.sh" --alter   ;;
         n | N | no  | No  | NO  ) return 0                              ;;
         *                       ) run_add_key_script                    ;;
     esac
@@ -487,7 +487,7 @@ function start_build () {
     else
         # build.shの引数を表示(デバッグ用)
         # echo ${argument}
-        sudo ./add-key.sh --alter
+        sudo ./keyring.sh --alter-add
         sudo ./build.sh ${argument}
         make cleanup
     fi