Removed user configurable files from files.tar.gz - now managed by usher
This commit is contained in:
13
SNAP/usher
13
SNAP/usher
@@ -29,8 +29,19 @@ case $1 in
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ! -f ${TARGET}/etc/login.defs ]; then
|
||||
cp ${TARGET}/usr/share/shadow/login.defs ${TARGET}/etc/default/login.defs
|
||||
fi
|
||||
if [ ! -f ${TARGET}/etc/login.access ]; then
|
||||
cp ${TARGET}/usr/share/shadow/login.access \
|
||||
${TARGET}/etc/default/login.access
|
||||
fi
|
||||
if [ ! -f ${TARGET}/etc/limits ]; then
|
||||
cp ${TARGET}/usr/share/shadow/limits ${TARGET}/etc/limits
|
||||
fi
|
||||
if [ ! -f ${TARGET}/etc/default/useradd ]; then
|
||||
cp ${TARGET}/usr/share/shadow/useradd.default /etc/default/useradd
|
||||
cp ${TARGET}/usr/share/shadow/useradd.default \
|
||||
${TARGET}/etc/default/useradd
|
||||
fi
|
||||
;;
|
||||
prerm)
|
||||
|
||||
Reference in New Issue
Block a user