Skip to content

Commit

Permalink
Update to dmd 2.056
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordi Sayol committed Oct 28, 2011
1 parent 13cf5a9 commit 8ca1862
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 16 deletions.
10 changes: 3 additions & 7 deletions linux/dmd_deb.sh
Expand Up @@ -46,8 +46,8 @@ elif test "${1:0:4}" != "-v1." -a "${1:0:4}" != "-v2." -o `expr length $1` -ne 7
ferror "Incorrect version number" "Exiting..."
elif test "${1:0:4}" = "-v1." -a "${1:4}" -lt "68" ;then
ferror "For \"dmd v1.068\" and newer only" "Exiting..."
elif test "${1:0:4}" = "-v2." -a "${1:4}" -lt "55" ;then
ferror "For \"dmd v2.055\" and newer only" "Exiting..."
elif test "${1:0:4}" = "-v2." -a "${1:4}" -lt "56" ;then
ferror "For \"dmd v2.056\" and newer only" "Exiting..."
fi
Expand Down Expand Up @@ -230,11 +230,7 @@ if [ "$ARCH" = "amd64" ]; then
elif [ "$ARCH" = "i386" ]; then
echo -n ' -L-L/usr/lib32 -L-L/usr/lib64' >> etc/dmd.conf
fi
echo -n ' -L--no-warn-search-mismatch -L--export-dynamic' >> etc/dmd.conf
if [ "$UNZIPDIR" = "dmd2" ]; then
echo -n ' -L-lrt' >> etc/dmd.conf
fi
echo >> etc/dmd.conf
echo ' -L--no-warn-search-mismatch -L--export-dynamic' >> etc/dmd.conf
# create conffiles file
Expand Down
10 changes: 3 additions & 7 deletions linux/dmd_rpm.sh
Expand Up @@ -54,8 +54,8 @@ elif test "${1:0:4}" != "-v1." -a "${1:0:4}" != "-v2." -o `expr length $1` -ne 7
ferror "Incorrect version number" "Exiting..."
elif test "${1:0:4}" = "-v1." -a "${1:4}" -lt "68" ;then
ferror "For \"dmd v1.068\" and newer only" "Exiting..."
elif test "${1:0:4}" = "-v2." -a "${1:4}" -lt "55" ;then
ferror "For \"dmd v2.055\" and newer only" "Exiting..."
elif test "${1:0:4}" = "-v2." -a "${1:4}" -lt "56" ;then
ferror "For \"dmd v2.056\" and newer only" "Exiting..."
fi
Expand Down Expand Up @@ -236,11 +236,7 @@ fi
if [ "$ARCH" = "x86_64" ]; then
echo -n ' -L-L/usr/lib64' >> etc/dmd.conf
fi
echo -n ' -L-L/usr/lib -L--no-warn-search-mismatch -L--export-dynamic' >> etc/dmd.conf
if [ "$UNZIPDIR" = "dmd2" ]; then
echo -n ' -L-lrt' >> etc/dmd.conf
fi
echo >> etc/dmd.conf
echo ' -L-L/usr/lib -L--no-warn-search-mismatch -L--export-dynamic' >> etc/dmd.conf
# change folders and files permissions
Expand Down
4 changes: 2 additions & 2 deletions linux/readme
Expand Up @@ -8,7 +8,7 @@ If running on a 32 bit system, you will get a 32 bits package, if in 64 bit syst
Resulting package should be installable on any debian like system (tested on debian, ubuntu and linuxmint).
If "dmd.x.xxx.zip" already exist in the script folder, will be used, if not, will try to download first.
If "d-completion.sh" file is in the script folder, will be included in the package.
Works only with dmd 1.068/2.055 and newer.
Works only with dmd 1.068/2.056 and newer.



Expand All @@ -22,7 +22,7 @@ If running on fedora, you'll get a fedora specific rpm package.
(In other words, one rpm package for fedora can become not installable in openSUSE due to dependencies)
If "dmd.x.xxx.zip" already exist in the script folder, will be used, if not, will try to download first.
If "d-completion.sh" file is in the script folder, will be included in the package.
Works only with dmd 1.068/2.055 and newer.
Works only with dmd 1.068/2.056 and newer.



Expand Down

0 comments on commit 8ca1862

Please sign in to comment.