mirror of
https://github.com/EnumeratedDev/bpm-utils.git
synced 2026-09-16 11:06:11 +00:00
pre_update.sh package scripts will now be included in bpm files
This commit is contained in:
+7
-3
@@ -61,10 +61,14 @@ else
|
|||||||
echo "post_install.sh file found"
|
echo "post_install.sh file found"
|
||||||
toCompress+=("post_install.sh")
|
toCompress+=("post_install.sh")
|
||||||
fi
|
fi
|
||||||
|
if [ -f pre_remove.sh ]; then
|
||||||
|
echo "pre_remove.sh file found"
|
||||||
|
toCompress+=("pre_remove.sh")
|
||||||
|
fi
|
||||||
if [ -f post_remove.sh ]; then
|
if [ -f post_remove.sh ]; then
|
||||||
echo "post_remove.sh file found"
|
echo "post_remove.sh file found"
|
||||||
toCompress+=("post_remove.sh")
|
toCompress+=("post_remove.sh")
|
||||||
fi
|
fi
|
||||||
if [ -d source-files ]; then
|
if [ -d source-files ]; then
|
||||||
if [ ! -z "$(ls -A source-files)" ]; then
|
if [ ! -z "$(ls -A source-files)" ]; then
|
||||||
echo "source-files/ directory found"
|
echo "source-files/ directory found"
|
||||||
|
|||||||
Reference in New Issue
Block a user