shellscripts_brand.txt (ff3f4ebc) | shellscripts_brand.txt (599cc5b4) |
---|---|
1# ************************************************************* 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 30 unchanged lines hidden (view full) --- 39 PRODUCTINSTALLLOCATION="$$RPM_INSTALL_PREFIX" 40 ;; 41*) 42 PRODUCTINSTALLLOCATION="$$BASEDIR" 43 ;; 44esac 45 46# creating link to basis layer | 1# ************************************************************* 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 30 unchanged lines hidden (view full) --- 39 PRODUCTINSTALLLOCATION="$$RPM_INSTALL_PREFIX" 40 ;; 41*) 42 PRODUCTINSTALLLOCATION="$$BASEDIR" 43 ;; 44esac 45 46# creating link to basis layer |
47if [ -d $$BASISDIR/apacheopenoffice/basisBASISDIRECTORYVERSION ] | 47if [ -d $$BASISDIR/openoffice/basisBASISDIRECTORYVERSION ] |
48then | 48then |
49 ln -s $$BASISDIR/apacheopenoffice/basisBASISDIRECTORYVERSION $$PRODUCTINSTALLLOCATION/PRODUCTDIRECTORYNAME/basis-link >/dev/null 2>&1 | 49 ln -s $$BASISDIR/openoffice/basisBASISDIRECTORYVERSION $$PRODUCTINSTALLLOCATION/PRODUCTDIRECTORYNAME/basis-link >/dev/null 2>&1 |
50else | 50else |
51 ln -s ../apacheopenoffice/basisBASISDIRECTORYVERSION $$PRODUCTINSTALLLOCATION/PRODUCTDIRECTORYNAME/basis-link >/dev/null 2>&1 | 51 ln -s ../openoffice/basisBASISDIRECTORYVERSION $$PRODUCTINSTALLLOCATION/PRODUCTDIRECTORYNAME/basis-link >/dev/null 2>&1 |
52fi 53 54exit 0 55END 56 57%preremove << END 58END 59 --- 31 unchanged lines hidden --- | 52fi 53 54exit 0 55END 56 57%preremove << END 58END 59 --- 31 unchanged lines hidden --- |