code format bug

pull/19/head
6543 5 years ago
parent 1d392d7460
commit 26d0950665
  1. 2
      src/func/check_dependency
  2. 2
      src/func/check_user
  3. 2
      src/func/chroot_clean
  4. 2
      src/func/chroot_initial
  5. 2
      src/func/chroot_is_mounted
  6. 2
      src/func/chroot_sh
  7. 2
      src/func/chroot_umount
  8. 2
      src/func/error_code
  9. 2
      src/func/filesystem_extract
  10. 2
      src/func/filesystem_get_type
  11. 2
      src/func/filesystem_pack
  12. 2
      src/func/iso_create
  13. 2
      src/func/iso_extract
  14. 2
      src/func/on_exit
  15. 2
      src/func/workspace_erase
  16. 3
      src/proj/debian
  17. 2
      src/proj/desinfect.17
  18. 2
      src/proj/ubuntu
  19. 2
      src/proj/ubuntu.16.04

@ -1,6 +1,6 @@
#!/bin/bash
#remaster lib
[ -d "<LIBDIR>"] || { echo "LIBDIR not exist"; exit 1; }
[ -d "<LIBDIR>" ] || { echo "LIBDIR not exist"; exit 1; }

#check_dependency
# -> 0 | -> 16

@ -1,6 +1,6 @@
#!/bin/bash
#remaster lib
[ -d "<LIBDIR>"] || { echo "LIBDIR not exist"; exit 1; }
[ -d "<LIBDIR>" ] || { echo "LIBDIR not exist"; exit 1; }

#check_user
function check_user() {

@ -1,6 +1,6 @@
#!/bin/bash
#remaster lib
[ -d "<LIBDIR>"] || { echo "LIBDIR not exist"; exit 1; }
[ -d "<LIBDIR>" ] || { echo "LIBDIR not exist"; exit 1; }

#chroot_clean [chroot_dir]
function chroot_clean() {

@ -1,6 +1,6 @@
#!/bin/bash
#remaster lib
[ -d "<LIBDIR>"] || { echo "LIBDIR not exist"; exit 1; }
[ -d "<LIBDIR>" ] || { echo "LIBDIR not exist"; exit 1; }

#chroot_initial [chroot_dir]
function chroot_initial() {

@ -1,6 +1,6 @@
#!/bin/bash
#remaster lib
[ -d "<LIBDIR>"] || { echo "LIBDIR not exist"; exit 1; }
[ -d "<LIBDIR>" ] || { echo "LIBDIR not exist"; exit 1; }

#chroot_is_mounted [chroot_dir]
#(Boolean)-> true | false

@ -1,6 +1,6 @@
#!/bin/bash
#remaster lib
[ -d "<LIBDIR>"] || { echo "LIBDIR not exist"; exit 1; }
[ -d "<LIBDIR>" ] || { echo "LIBDIR not exist"; exit 1; }

#chroot_sh [chroot_dir] [command]
function chroot_sh() {

@ -1,6 +1,6 @@
#!/bin/bash
#remaster lib
[ -d "<LIBDIR>"] || { echo "LIBDIR not exist"; exit 1; }
[ -d "<LIBDIR>" ] || { echo "LIBDIR not exist"; exit 1; }

#chroot_umount [chroot_dir]
function chroot_umount() {

@ -1,6 +1,6 @@
#!/bin/bash
#remaster lib
[ -d "<LIBDIR>"] || { echo "LIBDIR not exist"; exit 1; }
[ -d "<LIBDIR>" ] || { echo "LIBDIR not exist"; exit 1; }

#error_code [error_level]
function error_code() {

@ -1,6 +1,6 @@
#!/bin/bash
#remaster lib
[ -d "<LIBDIR>"] || { echo "LIBDIR not exist"; exit 1; }
[ -d "<LIBDIR>" ] || { echo "LIBDIR not exist"; exit 1; }

#filesystem_extract [filesystem_img_source] [chroot_path]
function filesystem_extract() {

@ -1,6 +1,6 @@
#!/bin/bash
#remaster lib
[ -d "<LIBDIR>"] || { echo "LIBDIR not exist"; exit 1; }
[ -d "<LIBDIR>" ] || { echo "LIBDIR not exist"; exit 1; }

#filesystem_get_type [dir]
#(String)-> ext4, ext2, btfs, fuse, ...

@ -1,6 +1,6 @@
#!/bin/bash
#remaster lib
[ -d "<LIBDIR>"] || { echo "LIBDIR not exist"; exit 1; }
[ -d "<LIBDIR>" ] || { echo "LIBDIR not exist"; exit 1; }

#filesystem_pack [chroot_path] [filesystem_img_destination]
function filesystem_pack() {

@ -1,6 +1,6 @@
#!/bin/bash
#remaster lib
[ -d "<LIBDIR>"] || { echo "LIBDIR not exist"; exit 1; }
[ -d "<LIBDIR>" ] || { echo "LIBDIR not exist"; exit 1; }

#iso_create [chroot_path] [iso_extr_dir] [iso_destination] [iso_lable]
function iso_create() {

@ -1,6 +1,6 @@
#!/bin/bash
#remaster lib
[ -d "<LIBDIR>"] || { echo "LIBDIR not exist"; exit 1; }
[ -d "<LIBDIR>" ] || { echo "LIBDIR not exist"; exit 1; }

#iso_extract [iso_source] [iso_extr_dir]
function iso_extract() {

@ -1,6 +1,6 @@
#!/bin/bash
#remaster lib
[ -d "<LIBDIR>"] || { echo "LIBDIR not exist"; exit 1; }
[ -d "<LIBDIR>" ] || { echo "LIBDIR not exist"; exit 1; }

#on_exit [error_level]
function on_exit() {

@ -1,6 +1,6 @@
#!/bin/bash
#remaster lib
[ -d "<LIBDIR>"] || { echo "LIBDIR not exist"; exit 1; }
[ -d "<LIBDIR>" ] || { echo "LIBDIR not exist"; exit 1; }

#workspace_erase [workspace_path]
function workspace_erase() {

@ -1,6 +1,7 @@
#!/bin/bash
#remaster lib
[ -d "<LIBDIR>"] || { echo "LIBDIR not exist"; exit 1; }
[ -d "<LIBDIR>" ] || { echo "LIBDIR not exist"; exit 1; }

####################################
##### Base Template D E B I A N ####
####################################

@ -1,6 +1,6 @@
#!/bin/bash
#remaster lib
[ -d "<LIBDIR>"] || { echo "LIBDIR not exist"; exit 1; }
[ -d "<LIBDIR>" ] || { echo "LIBDIR not exist"; exit 1; }

#desinfect.17
# . -Y ubuntu.16.04 -> ubuntu -> debian

@ -1,6 +1,6 @@
#!/bin/bash
#remaster lib
[ -d "<LIBDIR>"] || { echo "LIBDIR not exist"; exit 1; }
[ -d "<LIBDIR>" ] || { echo "LIBDIR not exist"; exit 1; }

####################################
##### Base Template U B U N T U ####

@ -1,6 +1,6 @@
#!/bin/bash
#remaster lib
[ -d "<LIBDIR>"] || { echo "LIBDIR not exist"; exit 1; }
[ -d "<LIBDIR>" ] || { echo "LIBDIR not exist"; exit 1; }

#ubuntu.16.04
# . -> ubuntu -> debian

Loading…
Cancel
Save