OSDN Git Service

[update] : Added install_dir.
authorhayao <shun819.mail@gmail.com>
Fri, 10 Apr 2020 01:52:49 +0000 (10:52 +0900)
committerhayao <shun819.mail@gmail.com>
Fri, 10 Apr 2020 01:52:49 +0000 (10:52 +0900)
channels/plasma/airootfs/root/customize_airootfs.sh
channels/plasma/airootfs/root/customize_airootfs_plasma.sh
channels/share/airootfs/root/customize_airootfs.sh
channels/xfce/airootfs/root/customize_airootfs.sh
channels/xfce/airootfs/root/customize_airootfs_xfce.sh

index 595d457..af9cad0 100755 (executable)
@@ -20,10 +20,11 @@ rebuild=false
 japanese=false
 username='alter'
 os_name="Alter Linux"
+install_dir="alter"
 
 
 # Parse arguments
-while getopts 'p:bt:k:rxju:o:' arg; do
+while getopts 'p:bt:k:rxju:o:i:' arg; do
     case "${arg}" in
         p) password="${OPTARG}" ;;
         b) boot_splash=true ;;
@@ -33,6 +34,7 @@ while getopts 'p:bt:k:rxju:o:' arg; do
         j) japanese=true;;
         u) username="${OPTARG}" ;;
         o) os_name="${OPTARG}" ;;
+        i) install_dir="${OPTARG}" ;;
         x) set -xv ;;
     esac
 done
index e546edc..02edbec 100755 (executable)
@@ -13,10 +13,11 @@ rebuild=false
 japanese=false
 username='alter'
 os_name="Alter Linux"
+install_dir="alter"
 
 
 # Parse arguments
-while getopts 'p:bt:k:rxju:o:' arg; do
+while getopts 'p:bt:k:rxju:o:i:' arg; do
     case "${arg}" in
         p) password="${OPTARG}" ;;
         b) boot_splash=true ;;
@@ -26,6 +27,7 @@ while getopts 'p:bt:k:rxju:o:' arg; do
         j) japanese=true;;
         u) username="${OPTARG}" ;;
         o) os_name="${OPTARG}" ;;
+        i) install_dir="${OPTARG}" ;;
         x) set -xv ;;
     esac
 done
index 591cf2c..8eb81dc 100755 (executable)
@@ -20,6 +20,7 @@ rebuild=false
 japanese=false
 username='alter'
 os_name="Alter Linux"
+install_dir="alter"
 
 
 # Parse arguments
index 9eb2dc6..2fc706b 100755 (executable)
@@ -20,10 +20,11 @@ rebuild=false
 japanese=false
 username='alter'
 os_name="Alter Linux"
+install_dir="alter"
 
 
 # Parse arguments
-while getopts 'p:bt:k:rxju:o:' arg; do
+while getopts 'p:bt:k:rxju:o:i:' arg; do
     case "${arg}" in
         p) password="${OPTARG}" ;;
         b) boot_splash=true ;;
@@ -33,6 +34,7 @@ while getopts 'p:bt:k:rxju:o:' arg; do
         j) japanese=true;;
         u) username="${OPTARG}" ;;
         o) os_name="${OPTARG}" ;;
+        i) install_dir="${OPTARG}" ;;
         x) set -xv ;;
     esac
 done
index b36e68c..678b683 100755 (executable)
@@ -20,10 +20,11 @@ rebuild=false
 japanese=false
 username='alter'
 os_name="Alter Linux"
+install_dir="alter"
 
 
 # Parse arguments
-while getopts 'p:bt:k:rxju:o:' arg; do
+while getopts 'p:bt:k:rxju:o:i:' arg; do
     case "${arg}" in
         p) password="${OPTARG}" ;;
         b) boot_splash=true ;;
@@ -33,6 +34,7 @@ while getopts 'p:bt:k:rxju:o:' arg; do
         j) japanese=true;;
         u) username="${OPTARG}" ;;
         o) os_name="${OPTARG}" ;;
+        i) install_dir="${OPTARG}" ;;
         x) set -xv ;;
     esac
 done