Browse Source

- bugfix '"'

- def lib-header
pull/19/head
6543 4 years ago
parent
commit
b5ab4f1ec9
  1. 6
      doc/lib-header.txt
  2. 0
      src/func/chroot_clean
  3. 0
      src/proj/desinfect17
  4. 0
      src/proj/ubuntu.16.04
  5. 3
      src/remaster.sh

6
doc/lib-header.txt

@ -0,0 +1,6 @@
#!/bin/bash
#remaster lib
[ -d "$LIBDR"] || export LIBDIR="/usr/lib/remaster/"
[ -d "$LIBDR"] || { echo "LIBDR not exist"; exit 1; }

#beginn func

0
src/functions/chroot_clean → src/func/chroot_clean

0
src/dist/desinfect17 → src/proj/desinfect17

0
src/dist/ubuntu.16.04 → src/proj/ubuntu.16.04

3
src/remaster.sh

@ -9,12 +9,13 @@
#####################################################################################
#get base dir
rootdir=`echo $0 | rev | cut -d "/" -f 2- | rev`/../../
export "rootdir=`readlink -e $rootdir`""
export "rootdir=`readlink -e $rootdir`"

#set functions
if [ -p "$rootdir/usr/lib/remaster/" ]; then
#source "$rootdir/usr/lib/remaster/" ...
export PATH="$rootdir/usr/lib/remaster/":$PATH
export LIBDIR="$rootdir/usr/lib/remaster/"
else
echo "ERROR functions not found"
exit 1

Loading…
Cancel
Save