Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
iwr
amdis
Commits
8e1a3fb7
Commit
8e1a3fb7
authored
Apr 18, 2011
by
Thomas Witkowski
Browse files
And try to add some missing files ...
parent
919899ce
Changes
2
Show whitespace changes
Inline
Side-by-side
AMDiS/postrm.in
0 → 100755
View file @
8e1a3fb7
#!/bin/sh
if
test
"
$1
"
=
"upgrade"
;
then
exit
0
fi
NEWDIRS_SEMI
=
"@deb_add_dirs@"
NEWDIRS
=
`
echo
${
NEWDIRS_SEMI
}
|
sed
's/;/ /g'
`
BASEDIR
=
@CPACK_INSTALL_PREFIX@
#echo "will create the remove directories:"
for
d
in
${
NEWDIRS
}
;
do
# echo "${BASEDIR}${d}"
rm
-r
${
BASEDIR
}${
d
}
>
/dev/null 2> /dev/null
done
exit
0
AMDiS/preinst.in
0 → 100755
View file @
8e1a3fb7
#!/bin/sh
NEWDIRS_SEMI
=
"@deb_add_dirs@"
NEWDIRS
=
`
echo
${
NEWDIRS_SEMI
}
|
sed
's/;/ /g'
`
BASEDIR
=
@CPACK_INSTALL_PREFIX@
#echo "will create the following directories:"
for
d
in
${
NEWDIRS
}
;
do
# echo "${BASEDIR}${d}"
mkdir
--parents
${
BASEDIR
}${
d
}
done
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment