Browse Source

Merge branch 'fix-standalone_executable' into develop

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

4
src/func/check_dependency

@ -14,7 +14,7 @@ function check_dependency() {
return 0
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
check_dependency $@
}

4
src/func/check_user

@ -11,7 +11,7 @@ function check_user() {
}
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
check_user $@
}

4
src/func/chroot_clean

@ -16,7 +16,7 @@ function chroot_clean() {
echo "done"
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
chroot_clean $@
}

4
src/func/chroot_initial

@ -25,7 +25,7 @@ function chroot_initial() {
echo "done"
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
chroot_initial $@
}

4
src/func/chroot_is_mounted

@ -16,7 +16,7 @@ function chroot_is_mounted() {
fi
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
chroot_is_mounted $@
}

4
src/func/chroot_sh

@ -23,7 +23,7 @@ function chroot_sh() {
chroot "$chroot_dir" /bin/bash --login -c ". /tmp/env.sh; $command"
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
chroot_sh $@
}

4
src/func/chroot_umount

@ -25,7 +25,7 @@ function chroot_umount() {
echo "done"
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
chroot_umount $@
}

7
src/func/error_code

@ -53,13 +53,16 @@ function error_code() {
22)
echo "wrong filesystem"
;;
all)
error_code
;;
*)
echo $'No Defined Error Code.\nPerhaps an Error ocure on a Command wich was started by this Skritp.'
;;
esac
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
error_code $@
}

4
src/func/filesystem_extract

@ -42,7 +42,7 @@ function filesystem_extract() {
echo "done"
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
filesystem_extract $@
}

4
src/func/filesystem_get_type

@ -9,7 +9,7 @@ function filesystem_get_type() {
echo ${fs_aTemp[9]}
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
filesystem_get_type $@
}

4
src/func/filesystem_pack

@ -31,7 +31,7 @@ function filesystem_pack() {
echo "done"
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
filesystem_pack $@
}

4
src/func/iso_create

@ -25,7 +25,7 @@ function iso_create() {
echo "done"
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
iso_create $@
}

4
src/func/iso_extract

@ -46,7 +46,7 @@ function iso_extract() {
echo "done"
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
iso_extract $@
}

4
src/func/on_exit

@ -28,7 +28,7 @@ function on_exit() {
exit $1
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
on_exit $@
}

4
src/func/workspace_erase

@ -13,7 +13,7 @@ function workspace_erase() {
echo "done"
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
workspace_erase $@
}

4
src/mods/xrdp

@ -10,7 +10,7 @@



#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
xrdp $@
}

5
src/proj/debian

@ -35,8 +35,3 @@ function os_update() {

echo "done"
}

[ -n "$1" ] && {
echo param
$1
}

5
src/proj/desinfect.17

@ -7,8 +7,3 @@
source <LIBDIR>/proj/ubuntu.16.04

TEST2="na"

[ -n "$1" ] && {
echo param
$1
}

5
src/proj/ubuntu

@ -7,8 +7,3 @@
####################################
# . -> debian
source <LIBDIR>/proj/debian

[ -n "$1" ] && {
echo param
$1
}

5
src/proj/ubuntu.16.04

@ -5,8 +5,3 @@
#ubuntu.16.04
# . -> ubuntu -> debian
source <LIBDIR>/proj/ubuntu

[ -n "$1" ] && {
echo param
$1
}

Loading…
Cancel
Save