diff options
author | Christos.K <freedomrfox@gmail.com> | 2017-08-22 13:50:41 +0300 |
---|---|---|
committer | Christos.K <freedomrfox@gmail.com> | 2017-08-22 13:50:41 +0300 |
commit | a3beccce8d933c77db468ce6f08ee077b8a3393c (patch) | |
tree | c37b31177e96a6ae06c742200ae61fecba78b65c | |
parent | Minor change (diff) | |
download | GSE-a3beccce8d933c77db468ce6f08ee077b8a3393c.tar.gz GSE-a3beccce8d933c77db468ce6f08ee077b8a3393c.tar.bz2 GSE-a3beccce8d933c77db468ce6f08ee077b8a3393c.zip |
Minor change
-rwxr-xr-x | scripts/functions/sinit_functions | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/scripts/functions/sinit_functions b/scripts/functions/sinit_functions index 2bdd634..fc246b7 100755 --- a/scripts/functions/sinit_functions +++ b/scripts/functions/sinit_functions @@ -2170,7 +2170,15 @@ _archive_() { while true; do if ! ls "${CDISTDIR}/stage3-amd64-${GVEX}.tar.bz2" >/dev/null 2>&1; then (cd "$1" - _o_report_back "Creating the stage4 tarball" + + if [[ ! -e "/var/lib/gse" ]]; then + mkdir -p "var/lib/gse" + fi + + _o_report_back "Importing version to new system" + echo "${GVEX}" > "var/lib/gse/version" + + _o_report_back "Creating the stage3 tarball" if [[ "${_flag_base}" == 'catalyst' ]]; then eval tar -cjpP --ignore-failed-read "${EXCLUDE}" -f "${CDISTDIR}/stage3-amd64-${TARGETSTAMP}-${GVEX}.tar.bz2" . "${_flag_silence}" elif [[ "${_flag_base}" == 'precomp' ]]; then @@ -2737,6 +2745,7 @@ config_f() { read -rp "Input :: <= " SELCT case ${SELCT} in I|i|1 ) + # MARKED FOR REMOVAL # GUIDED FSTAB EDITOR drv_interface _STAY=0;; |